|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Publishing a Message to a REMOTE queue - interesting |
« View previous topic :: View next topic » |
Author |
Message
|
gpklos |
Posted: Mon Aug 24, 2009 11:53 am Post subject: Publishing a Message to a REMOTE queue - interesting |
|
|
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 |
|
 |
fjb_saper |
Posted: Mon Aug 24, 2009 2:14 pm Post subject: |
|
|
 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 |
|
 |
gpklos |
Posted: Wed Aug 26, 2009 7:12 am Post subject: |
|
|
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 |
|
 |
markt |
Posted: Wed Aug 26, 2009 7:30 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|