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 » Working with Message set in Java compute node

Post new topic  Reply to topic
 Working with Message set in Java compute node « View previous topic :: View next topic » 
Author Message
bijesh
PostPosted: Tue Jan 30, 2007 8:14 pm    Post subject: Working with Message set in Java compute node Reply with quote

Acolyte

Joined: 30 Jan 2007
Posts: 66

Hi all,

I'm quite new to WBIMB. Can anyone throw some lights on using Message sets in Java compute node?

Thanks in advance
Bijesh
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jan 31, 2007 2:26 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It's not any different.

The Java API for WMB only gives you access to the logical message tree, just like ESQL only gives you access to the logical message tree.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bijesh
PostPosted: Wed Jan 31, 2007 4:19 am    Post subject: Reply with quote

Acolyte

Joined: 30 Jan 2007
Posts: 66

the scenario is like this.
I want to make use of a message set in the Java compute node to read the result of a stored procedure. I'm not able to find a way for this.
The result of the stored procedure is stored as a string. how can I propagate this string to the next node with out changing the format of the String.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jan 31, 2007 4:21 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

How would you do this in ESQL?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bijesh
PostPosted: Wed Jan 31, 2007 4:40 am    Post subject: Reply with quote

Acolyte

Joined: 30 Jan 2007
Posts: 66

I'm using Java compute node. I'm not using ESQL here and I'm not sure how can I do the same in ESQL also.

now once I get the result of the store procedure in the string variable i'm using substring to get different fields and creating an XML out of it. Then I'm propagating it to the next node, that is an MQOutput node.

Instead of using substring to get different fields, I thought I can make use of Message set and read the result of the stored procedure n pass it on.

Hope you understood the scenario.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jan 31, 2007 4:48 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac30350_.htm

The difference between creating an XML tree and creating an MRM tree is which parser you create the root of the tree with.

And then use createElementAsLastChildFromBitstream
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bijesh
PostPosted: Wed Jan 31, 2007 5:21 am    Post subject: Reply with quote

Acolyte

Joined: 30 Jan 2007
Posts: 66

That helped me a lot. Thanks a lot.
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Wed Jan 31, 2007 5:54 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi bijesh,

U should read this too...
http://www.mqseries.net/phpBB2/viewtopic.php?t=30797&highlight=

Regards.
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Wed Jan 31, 2007 5:58 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If bijesh follows his JCN with a Validate node...
_________________
I am *not* the model of the modern major general.
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 » Working with Message set in 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.