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 » Java Compute Node XML message processing

Post new topic  Reply to topic
 Java Compute Node XML message processing « View previous topic :: View next topic » 
Author Message
mangoMan
PostPosted: Tue Dec 05, 2006 2:54 pm    Post subject: Java Compute Node XML message processing Reply with quote

Acolyte

Joined: 16 Oct 2003
Posts: 69

Is it possible to extract the XML message from the MbMessage object? I have feeling that it cannot be done but someone must have found a way. Any ideas?

Also, how can I see the println from the java compute node? For some reason the toolkit debugger does not display the values in the variables tab.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Dec 05, 2006 2:58 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Why do you *want* to extract the XML message from the MBMessage object?

And generally, no, it's not possible to see the printly from the Compute node. If you're not seeing the values in the Debugger, then maybe you didn't configure your Java debugging properly.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mangoMan
PostPosted: Tue Dec 05, 2006 4:00 pm    Post subject: Reply with quote

Acolyte

Joined: 16 Oct 2003
Posts: 69

I want to do that so I can run it through the xmlbeans framework to validate it and change it. The schema that I am using is too complex for the message broker to handle for it includes redefines and substitution groups and it is massive.

For the println you are telling me that there is no way to see it? Not even in a trace log?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Dec 05, 2006 4:09 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Use XSLT, and the XMLTransformation node.

If that *still* won't handle your schema (and maybe you should consider investing in a schema slimmer), then you can call toBitstream on MbElement.

In general, no, System.out is not visible anywhere.

If you want your JCN to write to a file that you can read, code your JCN to write to a file you can read.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mlafleur
PostPosted: Tue Dec 05, 2006 8:56 pm    Post subject: Reply with quote

Acolyte

Joined: 19 Feb 2004
Posts: 73

http://www.mqseries.net/phpBB2/viewtopic.php?t=20204&highlight=allow+service+interact
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 » Java Compute Node XML message processing
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.