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 » adding element in compute node

Post new topic  Reply to topic
 adding element in compute node « View previous topic :: View next topic » 
Author Message
chanduy9
PostPosted: Sat Dec 22, 2001 9:50 pm    Post subject: Reply with quote

Disciple

Joined: 28 Nov 2001
Posts: 177
Location: USA

Hi,
i have a message set with 3 elements, in compute node i want to add new message/element to the existing message...for example i want to retrive new element (which is not defined in message set)from the database.i am unable to add the new element/message dynamically in the computenode.
e.g.
SET OutputRoot.MRM.add='107 newjersy';(or a database query)
where add is not defined in messageset. i tried in several way but i failed...
Thanks in advance for help.
with regards,
Chandra.
Back to top
View user's profile Send private message
zpat
PostPosted: Sun Dec 23, 2001 5:41 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

If you are using MRM defined messages, you can't add elements that are not defined to your message set and expect it to work.

If you want to have a defined MRM message for the output - simply create another message type within the same or different message set which does contain the additional element.

So, in the message set - add the element, create another message (type) with all the elements for the output message. Do this in the Control Center and deploy the msg-set.

In the compute node copy the input elements to the output elements, set the additional element from the database and then change the message type to the one that defines the output message.

Then the MRM will construct the output message as you want it to be.

I forget the exact ESQL statement to set the message type but something like:

Set OutputRoot.MessageType = 'xxx';

Where xxx is the message type identifier (not the name unless the same). There is an example of the correct statements in one of the manuals.
Back to top
View user's profile Send private message
chanduy9
PostPosted: Sun Dec 23, 2001 3:18 pm    Post subject: Reply with quote

Disciple

Joined: 28 Nov 2001
Posts: 177
Location: USA

Hi,
i tried as you suggested..it is working..thats great..
Thnaks,
with regards,
Chandra.
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 » adding element in compute 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.