|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Putting messages using MQPER_PERSISTENCE_AS_Q_DEF... |
« View previous topic :: View next topic » |
Author |
Message
|
Empeterson |
Posted: Wed Jan 21, 2004 8:06 am Post subject: Putting messages using MQPER_PERSISTENCE_AS_Q_DEF... |
|
|
Centurion
Joined: 14 Apr 2003 Posts: 125 Location: Foxboro, MA
|
If you put a message to a remote queue using MQPER_PERSISTENCE_AS_Q_DEF, should the persistence of the message change to whatever is defined for the queue it is located in? For instance, the remote queue definition is defined as not persistent, while the transmission queue is defined as persistent. If I put a message to the remote queue using MQPER_PERSISTENCE_AS_Q_DEF, shouldn't the message be persistent when it is in transmission queue, or will it retain the persistence set in the remote queue definition? I just noticed that a message that was put using MQPER_PERSISTENCE_AS_Q_DEF was not persistent on a transmisission who'se default persistence was set to persistent. The default persistence of the remote queue definition was not persistent. _________________ IBM Certified Specialist: MQSeries
IBM Certified Specalist: Websphere MQ Integrator |
|
Back to top |
|
 |
mqonnet |
Posted: Wed Jan 21, 2004 8:42 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Straight from the manuals...
"If there is more than one definition in the queue-name resolution path, the default persistence is taken from the value of this attribute in the first definition in the path. This could be:
An alias queue
A local queue
A local definition of a remote queue
A queue-manager alias
A transmission queue (for example, the DefXmitQName queue)
"
http://publibfp.boulder.ibm.com/epubs/html/csqzak09/csqzak09tfrm.htm
Ch 10.
Cheers
Kumar |
|
Back to top |
|
 |
EddieA |
Posted: Wed Jan 21, 2004 12:52 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Persistence is an attribute of a Message, not a Queue. Once a message is in the Queue it will retain the Persistence setting regardless of the Queues it passes through on it's journey.
So, if you write to a Queue defined as Not Persistent using MQPER_PERSISTENCE_AS_Q_DEF, then the message will be non-persistent, no matter what the Queue attribute is.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
Empeterson |
Posted: Wed Jan 21, 2004 1:17 pm Post subject: |
|
|
Centurion
Joined: 14 Apr 2003 Posts: 125 Location: Foxboro, MA
|
Thank you Kumar. That was exactly what I was looking for in the manuals, but apparently I was looking in the wrong one.  _________________ IBM Certified Specialist: MQSeries
IBM Certified Specalist: Websphere MQ Integrator |
|
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
|
|
|
|