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 the outgoing MQMD MsgId in a Java plugin node

Post new topic  Reply to topic
 Setting the outgoing MQMD MsgId in a Java plugin node « View previous topic :: View next topic » 
Author Message
martin
PostPosted: Mon Nov 11, 2002 11:01 am    Post subject: Setting the outgoing MQMD MsgId in a Java plugin node Reply with quote

Novice

Joined: 09 Aug 2001
Posts: 17
Location: Charlotte, NC

Using MQI 2.1 Win, with a Java Plugin Node, setting the MQMD MsgID field on an outgoing message appears to have no affect even when the associated MQOutput node has "Generate New MsgID" unchecked. When the message hits the queue, a different MsgId appears.

I am familiar with the MQSeries Java JMS classes. With them, there is a method to set the Message ID, but it is just for fun, as it is always overriden with another value when a message is sent out. Is something like that going on here with the MQI java nodes?

As usual, there is the possiblity that I am misinterpreting the behaviour of my code.

thanks for any ideas,
Back to top
View user's profile Send private message
martin
PostPosted: Tue Nov 12, 2002 6:24 am    Post subject: Reply with quote

Novice

Joined: 09 Aug 2001
Posts: 17
Location: Charlotte, NC

Sorry, I want to replace the above question with a slightly different question.

Now, I don't want to set the MsgId, I just want to use the same message ID that was in the incomming message. But still it seems to assign a new messageID even when the MQOutput node has not been set to do that. Here are my steps:

1. make a new Message based on the incomming message
2. detach the element under /XML and create what I need there
3. create a new assemly based on the input assembly and the new message
4. propagate to the MQOutput node with settings:
New Message ID: unchecked
Message Context: Pass All

thanks for any ideas,
Back to top
View user's profile Send private message
martin
PostPosted: Tue Nov 12, 2002 7:55 am    Post subject: Reply with quote

Novice

Joined: 09 Aug 2001
Posts: 17
Location: Charlotte, NC

I have found by using a trace node that the MQOutput node will change the MsgId value until I uncheck Request on the Request Tab.

Do I have to send a datagram to leave the MsgId unaltered?

thanks,
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 the outgoing MQMD MsgId in a Java plugin node
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.