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 » AggregateReplyNode

Post new topic  Reply to topic
 AggregateReplyNode « View previous topic :: View next topic » 
Author Message
doubt_master
PostPosted: Fri Jul 13, 2007 11:22 am    Post subject: AggregateReplyNode Reply with quote

Novice

Joined: 02 Mar 2007
Posts: 10

I have an interesting question regarding AggregateReplyNode.

Whenever messages that arrive at Unknown terminal of AggregateReplyNode the message tree
is collapsing and if use a compute before it and saving the reply message in
environment variables then also the environment variables is vanishing from the tree.

Which is the better way of regaining the original message at the unknown terminal.
Back to top
View user's profile Send private message
wbi_telecom
PostPosted: Fri Jul 13, 2007 11:56 am    Post subject: Reply with quote

Disciple

Joined: 15 Feb 2006
Posts: 188
Location: Harrisburg, PA

Quote:
Whenever messages that arrive at Unknown terminal of AggregateReplyNode the message tree
is collapsing


What exactly happens ? Do you get any errors?

Quote:
if use a compute before it and saving the reply message in
environment variables then also the environment variables is vanishing from the tree.


Can you share the esql ?

Cheers,
Back to top
View user's profile Send private message
doubt_master
PostPosted: Fri Jul 13, 2007 12:15 pm    Post subject: Reply with quote

Novice

Joined: 02 Mar 2007
Posts: 10

CREATE COMPUTE MODULE StoreData
CREATE FUNCTION Main() RETURNS BOOLEAN
BEGIN
SET OutputRoot.Properties.MessageSet= 'A3056S002003;
SET OutputRoot.Properties.MessageType= 'Envelope';
SET OutputRoot.Properties.MessageFormat= 'XML1';
SET OutputRoot.MQMD= InputRoot.MQMD;
SET OutputRoot.MQRFH2= InputRoot.MQRFH2;

SET Environment.Variables.MQMD= InputRoot.MQMD;
SET Environment.Variables.MQRFH2= InputRoot.MQRFH2;
SET OutputRoot.MRM = InputRoot.MRM;
RETURN TRUE;
END;


This code if before the compute node of AggregateReplyNode .

If the message goes to unknown there will be no MRM or ExceptionList tree created.
Back to top
View user's profile Send private message
wbi_telecom
PostPosted: Fri Jul 13, 2007 12:27 pm    Post subject: Reply with quote

Disciple

Joined: 15 Feb 2006
Posts: 188
Location: Harrisburg, PA

If the objective is to preserve the MQMD, here's what we do. We send the MQMD as a separate message to a queue in the Fan out message flow and collect it back in the Fan in message flow. We convert MQMD to BLOB and then get it back using CREATE and PARSE.

Cheers,
Back to top
View user's profile Send private message
doubt_master
PostPosted: Fri Jul 13, 2007 12:44 pm    Post subject: Reply with quote

Novice

Joined: 02 Mar 2007
Posts: 10

Thanks for your valuable information.
What is my requirement is to recover the whole message when it is timeout
Back to top
View user's profile Send private message
doubt_master
PostPosted: Fri Jul 13, 2007 12:45 pm    Post subject: Reply with quote

Novice

Joined: 02 Mar 2007
Posts: 10

sorry i want to correct my question.

Actually in my first post please replace unknown terminal with timout terminal
Back to top
View user's profile Send private message
wbi_telecom
PostPosted: Fri Jul 13, 2007 12:59 pm    Post subject: Reply with quote

Disciple

Joined: 15 Feb 2006
Posts: 188
Location: Harrisburg, PA

I am confused. The message goes to Timeout node when all the replies for a request are not received with the timeout interval specified. So can you trace the message that you are getting at the Timeout terminal before you start copying the InputRoot to OutputRoot because it may not have all the folders and you may have to create some in order to put it on a queue successfully.

Cheers,
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 » AggregateReplyNode
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.