Posted: Wed Jan 21, 2009 4:07 am Post subject: Read a complete XML Message in the Java Compute Node
Newbie
Joined: 20 Mar 2007 Posts: 8
I have created a message flow conatining a MQInputNode, Java Compute Node and MQOutPutNode. The JCN takes the entire XML message and converts it into a string format to be put in the specified output queue.
I am not able to get the complete xml message passed from the MQInputNode in the JCN, in this default method]
public void evaluate(MbMessageAssembly assembly) throws MbException
assembly shows a NULL message if seen in the java debugger.
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
Have you looked at the Sample Flows that use a JCN?
Have you put a trace node in your flow after the MQInputNode?
Have you done a search on this forum for JCN code that uses the message?
Do you really have to use a JCN? Can this be done easier in ESQL? _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
You may be getting a parsing exception in the input node. Disconnect the debugger ( because it can sometimes hide parsing errors ), send a message through your flow, then check the Windows event viewer for errors.
Or take a user trace. Always a good habit, that.
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