Author |
Message
|
mqsidude |
Posted: Fri Jun 15, 2007 12:13 pm Post subject: Messages in subscriber queues vanish once broker is stopped! |
|
|
 Centurion
Joined: 22 Jan 2004 Posts: 148
|
I am currently trying my hands on WMQ6 pubsub feature and stuck up with the following issue:
Using WMQ explorer (with MS0Q plugin), I have created a topic, subscriber to the topic and published a message to the topic using the plugin's testing features. I do see the messages in the subscriber queues but they disappear once I stop the WMQ QM broker! Whats happening??? My assumption is that QM broker has nothing to do with the subscription queues once messages are delivered.
I have been strugling for a while to crack this issue. Any help is appreciated.
Thanks |
|
Back to top |
|
 |
tleichen |
Posted: Fri Jun 15, 2007 1:01 pm Post subject: |
|
|
Yatiri
Joined: 11 Apr 2005 Posts: 663 Location: Center of the USA
|
Since the plug-in would have to be using the broker to see those items, it would only seem logical that, if the broker is stopped, it would no longer be able to see those items. Do the items "reappear" when the broker is started again?  _________________ IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer |
|
Back to top |
|
 |
mqsidude |
Posted: Fri Jun 15, 2007 1:07 pm Post subject: |
|
|
 Centurion
Joined: 22 Jan 2004 Posts: 148
|
The plugin owns only the 'Topics' folder I believe. It has nothing to do with the QM queues.
I am talking about the published messages. I don't see any connection between the messages in the subscriber queues and the broker.
Is there something that makes the messages expire once the broker is stopped???  |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Jun 15, 2007 2:19 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
mqsidude wrote: |
The plugin owns only the 'Topics' folder I believe. It has nothing to do with the QM queues.
I am talking about the published messages. I don't see any connection between the messages in the subscriber queues and the broker.
Is there something that makes the messages expire once the broker is stopped???  |
May be the fact that once the broker stops there won't be any subscriber attached and the messages are not for a durable subscriber....
This would mean that before shutting down the broker cleans up after itself.... Nice...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqsidude |
Posted: Mon Jun 18, 2007 11:20 am Post subject: |
|
|
 Centurion
Joined: 22 Jan 2004 Posts: 148
|
You mean broker cleans up any unconsumed messages from the queues??? Is there any good reason for doing that? I thought the broker's responsibility is to just put the messges in the subscription queues but not to consume/deplete them???
The broker is taking down the messages in the remote queue too. Its quiet strange for me and I am still not able to crack this out. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Jun 18, 2007 11:28 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The broker won't remove any messages from remote queues.
Either the messages are non-persistant, or they are expiring. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|