I have written two classes a JMS Message sender and JMS Message Listener class which are required to interact with SonicMQ which is configured on other system which is not in my control. I need to send JMS messages to a particular Queue and receive JMS Messages from Other Queue. Both the queues are configured on other server using SonicMQ.
Now I can invoke JMS sender class by creating an instance where ever required.
But how can I start my JMS Message Listener which implements MessageDrivenBean, MessageListener? I gone through some documentation where we need to configure in ejb-jar.xml. But I can I have control over its listening?
Also, do we need to do any configuration in weblogic-ejb-jar.xml as server is not in my control?