|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Hybrid Java Node |
« View previous topic :: View next topic » |
Author |
Message
|
anupamsharma |
Posted: Thu Jan 08, 2004 6:23 am Post subject: Hybrid Java Node |
|
|
Newbie
Joined: 29 Dec 2003 Posts: 5
|
Hi,
I was trying to create a Hybrid Java Node, one which can act as an Input Node and as a basic message processing node. Basically I want to be able to process an incoming message, create a new message based on the incoming message data, and send a new output message to the output queue. As part of my processing, I am also calling some external java classes, also developed by me.
So far in my experiment I first tried to put all of my code in the evaluate() method and left the run() method blank. The result, I was able to get the input message and process it. But I was not able to create an output message, eventhough I am following the steps given in the API document.
I then tried to put all my code in the run() method, and put the evaluate() as blank. Now I get my input message as null, but my external classes are called and I'm able to create an output message. Though, I'm unable to propagate it to the output queue.
Has anyone tried creating a hybrid java node? If so, do you know if we can or should split our code between the two methods run() and evaluate(). I tried looking at the documents and I don't see an example of a Hybrid Node.
Any help will be appreciated.
Thanks.
Anupam |
|
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
|
|
|
|