Thanks for the prompt reply. Identified the issue. I had put my jms config
inside WEB-INF/resources.xml contained in the server deployment. So in order
to access it from remote client
had to change the following line :
System.setProperty("aQueue",
"queue:org.apache.activemq.command.ActiveMQQueue:MyResQueue");
to
System.setProperty("aQueue",
"queue:org.apache.activemq.command.ActiveMQQueue:tomee-jms/MyResQueue");
with "tomee-jms" being my application name .
In my previous setup, the server code was publishing to the queue
"tomee-jms/MyResQueue" and the remote client to the queue "MyResQueue"
Thanks,
S
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/Tomee-Remote-JMS-client-communication-issue-tp4681776p4681793.html
Sent from the TomEE Users mailing list archive at Nabble.com.