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 » Try-Catch node before compute ?

Post new topic  Reply to topic
 Try-Catch node before compute ? « View previous topic :: View next topic » 
Author Message
neeha_kashyap120
PostPosted: Mon Mar 16, 2009 11:38 am    Post subject: Try-Catch node before compute ? Reply with quote

Apprentice

Joined: 05 Mar 2009
Posts: 31

Hi

I have designed the flow as below

MQInput --> Compute1 --> Label---> TryCatch--->Compute2--->MQOutput.

I am sending a message which has RFH headers through the flow, when there is a transformation error in Compute2 it is to goto a error Q through the Catch terminal of Try-Catch node. Once the transformation is successul in Compute2 the RFH headers are deleted and the message is passed on to MQoutput. So we have the statements that delete the RHF header in compute2.

But when the message is failing to transform the original message is going to Error queue but the values in the RFH headers are set to blank. Like for example the incoming message has <MsgSet>ABC</MsgSet>
But the message that ends up in ErrorQueue has <MsgSet></MsgSet>.

Any idea why even though the message is rolled back, the headers are set to blank?

Thanks in Advance.
Back to top
View user's profile Send private message
jharringa
PostPosted: Mon Mar 16, 2009 12:12 pm    Post subject: Reply with quote

Acolyte

Joined: 24 Aug 2007
Posts: 70

What do you mean by "So we have the statements that delete the RHF header in compute2"? Does this mean that you are not passing that header on to OutputRoot? Could you post the code that you are using to delete the RFH header?
Back to top
View user's profile Send private message
neeha_kashyap120
PostPosted: Mon Mar 16, 2009 1:01 pm    Post subject: Reply with quote

Apprentice

Joined: 05 Mar 2009
Posts: 31

Yes, we are not passing the RFH headers to output as we use the headers in the message body which we set in Environment variables to route the message from there on.

I fixed the problem, there was actually a RCD before the compute2 in which i checked Reset Message Set, which is why it was setting it to blank, once I unchecked that it worked.

Thanks for your time.

Sowmya
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 » Try-Catch node before compute ?
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.