Are you use Fuse ESB as well? If so which version are you using?
Apologies for late reply.
We are using Fuse ESB version 4.4.1-fuse-01-06.
Any help on this will be much appreciated.
Could you try running the same client against ActiveMQ (already running inside ServiceMix) to rule out it's a problem in your client itself? If that works fine, you may want to try enabling debug or even trace logging (log:set DEBUG or log:set TRACE) to see if you get any additional information on what's happening.
I have updated JNDI template configuration to access local ActiveMQ as shown below and it is working fine.
I may have misunderstood your suggession but, I think, use of ActiveMQ context factory in place JBoss's context factory would not confirm that JBoss MQ client is working fine.
Additionally, I have debug through the code and prepared a tests java class which does the exact method executions as it is performed in Fuse ESB. Please find attached JmsTestMain.java file.
When my jms-test route is not running and I start the JmsTestMain.java it works fine. Once I start jms-test route the JmsTestMain.java fail to consume messages.
Not able to understand why!!
Edited by: jayeshecs on Jun 20, 2012 9:02 AM
JmsTestMain.java 5.0 KB
ClassNotFoundException was being thrown on the client side (in servicemix) on the Jboss messaging ServerThread class for ServerSocketWrapper class.
Re-created the jboss messaging client osgi bundle with the org.jboss.jms.server.remoting package included and the problem was resolved.
Thanks a lot Krishna