Skip to Content
0
Former Member
Aug 06, 2008 at 02:35 PM

Reg: JMS Client (Java Class)

33 Views

Hi

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.

Problem:

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.

Question:

Should I use a managed class instead of a java class client, why?

Can some one please quickly reply? Thank you so much.

Regards

Lakshminarayanan.V