I created a Java class that acts as a JMS producer and sends messages to JMS Queue that is obtained by JNDI look up. This class is packed as a library and deployed to the server. The MDB ( Queue Listener) is also developed and packed into a separate EAR and deployed.
When the JMS Client (java class) is called and messages are sent to the queue, the MDB ( Queue Listener) is not being called. There is no problem with obtaining connection factory and destination from the jndi look up in the JMS client. I get no exceptions. But as described before MDB is not called.
Should I use a managed class instead of a java class client, why?
Can some one please quickly reply? Thank you so much.