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 » Calling Java routine in ESQL(Compute Node)

Post new topic  Reply to topic
 Calling Java routine in ESQL(Compute Node) « View previous topic :: View next topic » 
Author Message
Bharat_123
PostPosted: Tue Sep 16, 2008 7:11 am    Post subject: Calling Java routine in ESQL(Compute Node) Reply with quote

Acolyte

Joined: 15 Sep 2008
Posts: 58

Hello


I have situation where i need to call regular java routine which generates a unique number for this application and that need to called in compute node using ESQL.

Is there any procedure to call regular java in ESQL?

Please let me know is that regular java routine needs to convert as jar file. If yes is that jar file should be with .esql file in flow project ?


i looked in the document, that says we can call regular java routine in ESQL. But i looked for the detail document, like how to call and the procedure i could not find any.

Please let me know in detail

Thanks
Back to top
View user's profile Send private message
eai_guy
PostPosted: Tue Sep 16, 2008 7:53 am    Post subject: Reply with quote

Voyager

Joined: 18 Oct 2007
Posts: 90

Use CALL statement to call external Java function from ESQL. Keep that Java function under a schema in your workspace and make that project as reference.
Back to top
View user's profile Send private message
sridhsri
PostPosted: Tue Sep 16, 2008 12:20 pm    Post subject: Reply with quote

Master

Joined: 19 Jun 2008
Posts: 297

I think you will find this website useful:http://publib.boulder.ibm.com/infocenter/ieduasst/v1r1m0/index.jsp?topic=/com.ibm.iea.wmb_v6/wmb/6.0/ApplicationDevelopment/ESQL_Capabilities/Ext_Functions_Java/player.html
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Sep 16, 2008 12:46 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

No need to generate a unique number in Java.
The broker has some unique id functions and you should look them up in the ESQL documentation.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Bharat_123
PostPosted: Fri Sep 19, 2008 6:56 am    Post subject: Reply with quote

Acolyte

Joined: 15 Sep 2008
Posts: 58

Thats works


Thanks
Back to top
View user's profile Send private message
broker_new
PostPosted: Fri Sep 19, 2008 7:05 am    Post subject: Reply with quote

Yatiri

Joined: 30 Nov 2006
Posts: 614
Location: Washington DC

But still Bharat_123 don't you feel curious to find the answer for calling Java Routines ....
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 » Calling Java routine in ESQL(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.