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 » WebSphere Message Broker (ACE) Support » how to set the message persistence

Post new topic  Reply to topic
 how to set the message persistence « View previous topic :: View next topic » 
Author Message
nthepak
PostPosted: Thu Mar 12, 2009 7:00 am    Post subject: how to set the message persistence Reply with quote

Voyager

Joined: 19 Dec 2005
Posts: 79
Location: India

Hello Everybody,

I have to set the outgoing message persistence with that of as the queue defined with. Could anybody help me out in how to set the message persistence in broker ESQL same as that of the queue.

will the following code work for this purpose

SET OutputRoot.MQMD.Persistence="QUEUE_DEFINED";
_________________
BR,
Deepak N
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu Mar 12, 2009 7:04 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Why would the value "QUEUE_DEFINED" have any meaningful value in MQ?

Why are you posting an ESQL question in the Java/JMS forum?

http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=/com.ibm.mq.csqzaq.doc/fc_MQPER_.htm
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Mar 12, 2009 7:26 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

You set this on the MQOUTPUT node, the point of the message broker is to avoid coding whenever possible.

Quote:
Select the Persistence Mode from the drop-down list to determine whether the message is put persistently:
If you select Automatic (the default), the persistence is as specified in the incoming message.
If you select Yes, the message is put persistently.
If you select No, the message is put non-persistently.
If you select As Defined for Queue, the message persistence is set as defined for the WebSphere MQ queue
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Mar 12, 2009 7:38 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Moved to correct section
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » how to set the message persistence
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.