|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
adding tags to a failed message |
« View previous topic :: View next topic » |
Author |
Message
|
brokerics |
Posted: Sat Apr 22, 2006 2:49 am Post subject: adding tags to a failed message |
|
|
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 |
|
 |
fjb_saper |
Posted: Sat Apr 22, 2006 5:07 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|