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 tags to a failed message

Post new topic  Reply to topic
 adding tags to a failed message « View previous topic :: View next topic » 
Author Message
brokerics
PostPosted: Sat Apr 22, 2006 2:49 am    Post subject: adding tags to a failed message Reply with quote

Apprentice

Joined: 30 Oct 2005
Posts: 45

IN MB 5.0, ive a

MQinput -> Compute1 -> MQOutput

failure of MQinput is ->Compute2 -> failure queue.

in the compute2 node, im tryin to add custom XML tags in OutputRoot.XML. BUt whenever an incorrect input XML message comes to this failure terminal, and into the compute2 node, it causes XML writing errors, because 'no valid xml body could be found'.

now how can i add custom tags in addition to the input message to write it to the failure queue. for eg , a message number/identifier tag in XML so that i could later identify why this occurred by using trace message(where this same identifier was included) ?

id be happy for any help given
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Apr 22, 2006 5:07 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

You have to realize that unlike MRM, XML will not allow multiple tags at the "root" level (OutputRoot.XML).

So let's say you already have OutputRoot.XML.MyDocument and want to add some failure information to that:
You will need to add it like this:

Code:
Set OutputRoot.XML.MyDocument.ExceptionList = ExceptionList;


Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » adding tags to a failed message
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.