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 » Read a complete XML Message in the Java Compute Node

Post new topic  Reply to topic
 Read a complete XML Message in the Java Compute Node « View previous topic :: View next topic » 
Author Message
EZHIL MALAR
PostPosted: Wed Jan 21, 2009 4:07 am    Post subject: Read a complete XML Message in the Java Compute Node Reply with quote

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.

What do i do? please
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Jan 21, 2009 5:48 am    Post subject: Reply with quote

Jedi Council

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.
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Jan 21, 2009 6:26 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

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.
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 » Read a complete XML Message in the Java Compute Node
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.