ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Publishing a Message to a REMOTE queue - interesting

Post new topic  Reply to topic
 Publishing a Message to a REMOTE queue - interesting « View previous topic :: View next topic » 
Author Message
gpklos
PostPosted: Mon Aug 24, 2009 11:53 am    Post subject: Publishing a Message to a REMOTE queue - interesting Reply with quote

Centurion

Joined: 24 May 2002
Posts: 108

We are currently running MQ version 6 on windows and zos. We use the MQ pub sub broker that comes with MQ 6. I was experimenting with creating a durable subscriber queue (SYSTEM.JMS.D.GARY.SUBQ), which is an alias for a Local queue named XY.TEST.LQ. Now I create a subscription to the topic and have it put the messages to SYSTEM.JMS.D.GARY.SUBQ. This works fine and my message shows up on XY.TEST.LQ. Now I figured I would see what happens when I change the alias SYSTEM.JMS.D.GARY.SUBQ to point to a REMOTE Queue. When I publish a message, the message gets routed to the other queue manager (ZOS). Now what is strange is I can see it on the other queue manager and even browse the message several times. However eventually it disappears and I didn't get the message off the queue. Even the queue stats don't show anything being taken off the queue. Now if I publish another message, but make it RETAINED, then the message shows up on the remote queue manager and stays indefinitely. Why does a NON-retained message show up and be browsable, but then just disappear? I know the remote queue manager is a ZOS queue manager which knows nothing about PUB SUB, since it is V6. So why would the queue manager remove the message at all on its own? Can anyone explain this behavior.

I started this testing because someone asked what would happen if I publish to a REMOTE queue. We only have 1 windows MQ broker but they want to send to other queue managers that don't have brokers.

Thanks,
Gary
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Aug 24, 2009 2:14 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Could it be that the published message has an expiration time on it??
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
gpklos
PostPosted: Wed Aug 26, 2009 7:12 am    Post subject: Reply with quote

Centurion

Joined: 24 May 2002
Posts: 108

I think you are right. I just was testing the Publisher with the MQ Explorer "test publication" function. I guess by default it puts an expiration? If I select "Retained Message", then it stays.
Back to top
View user's profile Send private message
markt
PostPosted: Wed Aug 26, 2009 7:30 am    Post subject: Reply with quote

Knight

Joined: 14 May 2002
Posts: 508

It does look like the "test publication" feature in Explorer uses a 30 second expiry for non-retained operations.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Publishing a Message to a REMOTE queue - interesting
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.