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 » General IBM MQ Support » Putting messages using MQPER_PERSISTENCE_AS_Q_DEF...

Post new topic  Reply to topic
 Putting messages using MQPER_PERSISTENCE_AS_Q_DEF... « View previous topic :: View next topic » 
Author Message
Empeterson
PostPosted: Wed Jan 21, 2004 8:06 am    Post subject: Putting messages using MQPER_PERSISTENCE_AS_Q_DEF... Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
mqonnet
PostPosted: Wed Jan 21, 2004 8:42 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
EddieA
PostPosted: Wed Jan 21, 2004 12:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Empeterson
PostPosted: Wed Jan 21, 2004 1:17 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Putting messages using MQPER_PERSISTENCE_AS_Q_DEF...
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.