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 » How to propagate string from Java Compute node

Post new topic  Reply to topic
 How to propagate string from Java Compute node « View previous topic :: View next topic » 
Author Message
kash3338
PostPosted: Mon Feb 16, 2009 5:57 am    Post subject: How to propagate string from Java Compute node Reply with quote

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
View user's profile Send private message Send e-mail
Vitor
PostPosted: Mon Feb 16, 2009 6:01 am    Post subject: Reply with quote

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
View user's profile Send private message
gm_naren2001
PostPosted: Tue Mar 31, 2009 12:39 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
mqjeff
PostPosted: Tue Mar 31, 2009 12:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Tue Mar 31, 2009 1:09 pm    Post subject: Reply with quote

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
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 » How to propagate string from 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.