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 » Hybrid Java Node

Post new topic  Reply to topic
 Hybrid Java Node « View previous topic :: View next topic » 
Author Message
anupamsharma
PostPosted: Thu Jan 08, 2004 6:23 am    Post subject: Hybrid Java Node Reply with quote

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
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 » Hybrid Java 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.