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 » How to call a java method from ESQL?

Post new topic  Reply to topic
 How to call a java method from ESQL? « View previous topic :: View next topic » 
Author Message
pathipati
PostPosted: Mon Jun 18, 2007 5:49 pm    Post subject: How to call a java method from ESQL? Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

Is it possible to call a java method from ESQL (Compute Node)? If yes how?
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Mon Jun 18, 2007 6:10 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It's not possible to do this in version 2.1.

It's clearly documented how to do this in both version 5 and version 6.

In both version 5 and version 6, it has to be a static method.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
pathipati
PostPosted: Mon Jun 18, 2007 6:41 pm    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

Jeff,
Can you please post link to some samples...
Back to top
View user's profile Send private message Yahoo Messenger
marcin.kasinski
PostPosted: Mon Jun 18, 2007 11:14 pm    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

pathipati wrote:
Jeff,
Can you please post link to some samples...


Please...

Quote:
It's clearly documented how to do this in both version 5 and version 6.



Code:
CREATE PROCEDURE getRecords (IN cursor REFERENCE, IN queue_in
)
RETURNS BOOLEAN LANGUAGE JAVA EXTERNAL NAME "javapackage.JAVACLASS.javastaticmethod";


Calling :

Code:
SET success =getRecords (Environment.ZZZ,queue_in) ;

or
Code:
CALL getRecords (Environment.ZZZ,queue_in) ;

_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to call a java method from ESQL?
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.