|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Setting MQMD.Persistence |
« View previous topic :: View next topic » |
Author |
Message
|
jrcjava03 |
Posted: Tue Jan 08, 2008 1:17 pm Post subject: Setting MQMD.Persistence |
|
|
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 |
|
 |
jefflowrey |
Posted: Tue Jan 08, 2008 1:25 pm Post subject: |
|
|
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 |
|
 |
samar14 |
Posted: Wed Jan 09, 2008 3:23 am Post subject: |
|
|
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 |
|
 |
jrcjava03 |
Posted: Thu Jan 10, 2008 3:45 pm Post subject: Fount out why |
|
|
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 |
|
 |
jefflowrey |
Posted: Thu Jan 10, 2008 4:58 pm Post subject: Re: Fount out why |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|