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 » Setting MQMD.Persistence

Post new topic  Reply to topic
 Setting MQMD.Persistence « View previous topic :: View next topic » 
Author Message
jrcjava03
PostPosted: Tue Jan 08, 2008 1:17 pm    Post subject: Setting MQMD.Persistence Reply with quote

Newbie

Joined: 08 Jan 2008
Posts: 3

We have a requirement to have messages set as persistent before the message arrived in the MQ Node (set MQMD.Persistence to '1' or Persistent). I was just testing and found out that in option (b) below, whatever value you set in the is overriden upon the completion of the Compute Node. Option (a) works OK and retains value you set.

Questions
1. Why is MQMD.Persistence properties being overriden in option (b)?
2. Our requirement is that the broker is a web service endpoint and we decide to use 'HTTP Input node'. Is there a way for option (b) to be set as persistent and not be overriden?

Options

a. JMS Input node -----> Compute Node -----> Trace Node -----> MQ Node

b. HTTP Input node -----> Compute Node -----> Trace Node -----> MQ Node


Within Compute node, I have the following code

:
CREATE NEXTSIBLING OF OutputRoot.Properties DOMAIN 'MQMD';
Set OutputRoot.MQMD.Persistence = MQPER_PERSISTENT
:

Your reply is much appreciated.

Regards
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Jan 08, 2008 1:25 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Option A, of course, is missing at least the MQJMSNode or JMSMQNode (or whatever they're called).

But that's presumably just for simplifying the description here.

This is likely an issue with OutputRoot.Properties having something set, that is overriding the Persistence on the transport header (MQMD).
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
samar14
PostPosted: Wed Jan 09, 2008 3:23 am    Post subject: Reply with quote

Novice

Joined: 30 Nov 2007
Posts: 17

Please refer to the latest documentation for V6.0 . Page ac18520_.
This was added through a documentation Apar IY91220.
Back to top
View user's profile Send private message
jrcjava03
PostPosted: Thu Jan 10, 2008 3:45 pm    Post subject: Fount out why Reply with quote

Newbie

Joined: 08 Jan 2008
Posts: 3

Hi,

Appreciate all your reply and it did help.

I was missing 1 line of code,

SET OutputRoot.Properties.Persistence = true;

That's about it.

Regards,
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jan 10, 2008 4:58 pm    Post subject: Re: Fount out why Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

jrcjava03 wrote:
Hi,

Appreciate all your reply and it did help.

I was missing 1 line of code,

SET OutputRoot.Properties.Persistence = true;

That's about it.

Regards,


I think you'd find that setting OutputRoot.Properties.Persistence = NULL would have the same effect.
_________________
I am *not* the model of the modern major general.
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 » Setting MQMD.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.