Author |
Message
|
bhupa_sri |
Posted: Tue Jun 07, 2005 5:36 pm Post subject: MessageID is Changing |
|
|
Apprentice
Joined: 30 Dec 2004 Posts: 30 Location: India
|
A message is placed in Remote Queue with some msgId, when it comes to Local queue msgId is getting changed.
My Question is
How to control the msgId not to get changed ? |
|
Back to top |
|
 |
EddieA |
Posted: Tue Jun 07, 2005 6:35 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
msgId is getting changed |
Not by MQ it isn't.
Now, how your application reads/displays that might be your problem. The MessageID is bytes and must always be treated as bytes, not strings.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jun 08, 2005 3:24 am Post subject: Re: MessageID is Changing |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
bhupa_sri wrote: |
A message is placed in Remote Queue with some msgId, when it comes to Local queue msgId is getting changed.
My Question is
How to control the msgId not to get changed ? |
Hopefully, you posted this question in the correct forum, and you are using WBIMB/WMQI to put this message. In that case, double-check the properties of your MQOutput node to ensure that it is not set to create a new MsgId.
Otherwise, if you posted this in the wrong forum, then odds are good you are using JMS. JMS always resets the msgId when you use the send function. There's nothing you can do to change that. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bhupa_sri |
Posted: Wed Jun 08, 2005 4:58 am Post subject: |
|
|
Apprentice
Joined: 30 Dec 2004 Posts: 30 Location: India
|
Actually i am getting message from WBIC through MQ into WBIMB MQInputNode, When WBIC kept message in a Queue which is Remote Queue Configured.WBIC is keeping message with some message id in remote queue and when it comes to local queue which is input queue of WBIMB message flow the message id is getting changed.
My requirement is is both the message id should be same. |
|
Back to top |
|
 |
EddieA |
Posted: Wed Jun 08, 2005 8:33 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Oooops. Didn't spot the forum 1st time. That's the problem with just selecting "New Posts".
Quote: |
WBIC is keeping message with some message id in remote queue |
A remote queue is just a pointer to where the real queue is. You cannot "keep" messages in it.
Is WBIC writing the message twice, once to a remote queue, for WMIMB, and again to a local queue. If so, then it may well be generating a new message ID on each PUT.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
kishoreraju |
Posted: Wed Jun 08, 2005 12:53 pm Post subject: |
|
|
Disciple
Joined: 30 Sep 2004 Posts: 156
|
I think u can get the old messageID( messageid when the message is processed by WBIC) is copied into the coorilationID field when WBIC putting that message into the out queue(target queue)
Plz verify that.its guess. |
|
Back to top |
|
 |
|