|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to propagate string from Java Compute node |
« View previous topic :: View next topic » |
Author |
Message
|
kash3338 |
Posted: Mon Feb 16, 2009 5:57 am Post subject: How to propagate string from Java Compute node |
|
|
Shaman
Joined: 08 Feb 2009 Posts: 709 Location: Chennai, India
|
Hi,
How do i propagate an String from Java Compute node. I saw a sample code snippet for this like,
String myMsg = "The Message Data";
MbElement outRoot = outMessage.getRootElement();
// Create the Broker Blob Parser element
MbElement outParser = outRoot.createElementAsLastChild(MbBLOB.PARSER_NAME);
// Create the BLOB element in the Blob parser domain with the required text
MbElement outBodyEl2 = outParser.createElementAsLastChild(MbElement.TYPE_NAME_VALUE, "BLOB", myMsg.getBytes());
but from this how do i send it to next node through outassembly? |
|
Back to top |
|
 |
Vitor |
Posted: Mon Feb 16, 2009 6:01 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
If this is not a double post of this, it's something very close to it!  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
gm_naren2001 |
Posted: Tue Mar 31, 2009 12:39 pm Post subject: |
|
|
Newbie
Joined: 27 Apr 2007 Posts: 6 Location: India
|
If u know the things pls. let us know otherwise keep quite. dont confuse others. this is not good. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Mar 31, 2009 12:51 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
There's only one method that's necessary, and this method is obviously named, clearly documented, and fully shown in the sample code that is generated every time you create a new Java class for a JavaCompute node.
If you can't figure the answer out on your own, you're not trying *at all*.
Please try harder. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Mar 31, 2009 1:09 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
gm_naren2001 wrote: |
If u know the things pls. let us know otherwise keep quite. dont confuse others. this is not good. |
If you look at the other post, you'll notice that I tried. I even warned the poster I'm not a Java person, so as to avoid "confusion".
Maybe I'm just not as helpful as you'd like.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
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
|
|
|
|