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 » Java Compute Node Issues

Post new topic  Reply to topic
 Java Compute Node Issues « View previous topic :: View next topic » 
Author Message
satyanarayana
PostPosted: Mon Jun 26, 2006 6:12 am    Post subject: Java Compute Node Issues Reply with quote

Newbie

Joined: 26 Jun 2006
Posts: 2
Location: Edinburgh

Hi All,

1. How to propage message more than 2 destinations using routetolabel or anyother node based on the condition in javacompute node?

ESQL Solution:

IF InputRoot.XML.PassengerQuery.ReservationNumber<>'' THEN
SET OutputLocalEnvironment.Destination.RouterList.DestinationData[1].labelname = 'SinglePassenger';
ELSE IF
SET OutputLocalEnvironment.Destination.RouterList.DestinationData[1].labelname = 'AllReservations';

ELSE
SET OutputLocalEnvironment.Destination.RouterList.DestinationData[1].labelname = 'AllReservations';

etc..

END IF;

How to implement in java compute nod


2. Same message send more than one output queue.

How to set queue names and queue manager in runtime in java compute node.


3. If it is possible to implement Connection pooling in java compute node.



4. How to implement tracing and exception handling in Javacomputenode.

a). Any exception occur in java compute node how will I routed back to exception queue.
b) How to implement tracing where the problem occured.

Please Help me
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Jun 26, 2006 6:19 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Try the WMB forum next time.
Also, search the forum for each specific question because answers must already be there.
If you have tried and are struck post it here and somebody might be able to get you pass that
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jbanoop
PostPosted: Wed Jun 28, 2006 2:00 am    Post subject: Reply with quote

Chevalier

Joined: 17 Sep 2005
Posts: 401
Location: SC

1. U can get the handle to local environment in java compute node also . Check the Java API , u will understand. (hint: getLocalEnvironment() on MbMessageAssembly class)

2. Same way as 1. set the local environment destination list with the queue and quue manager names.

3. why do u need to do it. Broker handles the connection to the DB and as a user u need not do this. U can look at it like a container managed conneciton pooling mechanism.

4. U should be reading the basics of error handling and exception routing in MB message flows. For tracing within Java compute u should look at the MbServce class.

Read and search first before posting questions.
Regards,
Anoop
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Java Compute Node Issues
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.