|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Persistence on remote queues |
« View previous topic :: View next topic » |
Author |
Message
|
bigdavem |
Posted: Tue Nov 12, 2002 8:50 pm Post subject: Persistence on remote queues |
|
|
 Acolyte
Joined: 16 Sep 2001 Posts: 69 Location: Sydney, Australia
|
Can anyone explain to me the purpose of the Persistence field on remote queues?
Persistence at a message level can be MQPER_PERSISTENT, MQPER_NOT_PERSISTENT or MQPER_PERSISTENCE_AS_Q_DEF. My understanding is that the Persistence field on the queue definition is only used if the message is MQPER_PERSISTENCE_AS_Q_DEF. Let's assume that that's the case for this scenario.
Now, if a message is put to a remote queue it doesn't actually go into that queue, it goes into a xmitq. So wouldn't the message pick up its persistence from the Persistence field of the xmitq? If so, what difference did the Persistence field on the remote queue make?
Another question. If the xmitq is non-persistent and the destination local queue is persistent, does the message change from non-persistent to persistent or does it retain the non-persistence it got from the xmitq?
Thanks for your help.
Dave. |
|
Back to top |
|
 |
nimconsult |
Posted: Tue Nov 12, 2002 11:23 pm Post subject: |
|
|
 Master
Joined: 22 May 2002 Posts: 268 Location: NIMCONSULT - Belgium
|
If you put a message on a remote queue with PERSISTENCE_AS_Q_DEF, the message will have the persistence defined in the remote queue definition (not the persistence of the transmission queue).
If you put the message via an alias queue (still with PERSISTENCE_AS_Q_DEF), the message will get the persistence defined in the alias queue definition.
The message keeps its persistence settings. It will not change if the default persistence of the target local queue is different.
To answer your question, no the default persistence attribute of the target local queue does not play into the game when you do distributed queuing. _________________ Nicolas Maréchal
Senior Architect - Partner
NIMCONSULT Software Architecture Services (Belgium)
http://www.nimconsult.be |
|
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
|
|
|
|