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 » MessageID is Changing

Post new topic  Reply to topic
 MessageID is Changing « View previous topic :: View next topic » 
Author Message
bhupa_sri
PostPosted: Tue Jun 07, 2005 5:36 pm    Post subject: MessageID is Changing Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Tue Jun 07, 2005 6:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 08, 2005 3:24 am    Post subject: Re: MessageID is Changing Reply with quote

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
View user's profile Send private message
bhupa_sri
PostPosted: Wed Jun 08, 2005 4:58 am    Post subject: Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Wed Jun 08, 2005 8:33 am    Post subject: Reply with quote

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
View user's profile Send private message
kishoreraju
PostPosted: Wed Jun 08, 2005 12:53 pm    Post subject: Reply with quote

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
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 » MessageID is Changing
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.