Posted: Tue Sep 16, 2008 7:11 am Post subject: Calling Java routine in ESQL(Compute Node)
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.
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.
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
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
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