dcsimg
how to call API from JNI
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   praveen_jain
Posted On:   Thursday, January 3, 2008 01:35 AM

hi i am calling below function from c code using JNI , this class execute till **********3 println when i create object of brokerservice (an JMS API) it quits without giving any error message how do i create JMS object ? or use any external jar API in my java code public static int Queue_GetNumberOfMessage(String queueName ) { System.out.println("*************1 " + queueName); int queueSize=450; try{ System.out.println("*************3 " + queueName); BrokerService brokerService=new BrokerService(); System.out.println("brokerService "+brokerService); Sys   More>>

hi i am calling below function from c code
using JNI , this class execute till **********3 println
when i create object of brokerservice (an JMS API) it quits without giving any error message
how do i create JMS object ? or use any external jar API
in my java code




public static int Queue_GetNumberOfMessage(String queueName ) {

System.out.println("*************1 " + queueName);

int queueSize=450;

try{

System.out.println("*************3 " + queueName);


BrokerService brokerService=new BrokerService();


System.out.println("brokerService "+brokerService);

System.out.println("GetNumberOfMessage 9999 "+queueName);

System.out.println("go ");

}




praveen

   <<Less
About | Sitemap | Contact