cancel
Showing results for 
Search instead for 
Did you mean: 

MDB is not picking up messages consistently - SAP WAS 6.4

Former Member
0 Kudos

My issue is MDB picks up Message via onMessage() only once (the 1st time the application server is booted).Subsequent messages are not picked up by the MDB.

I'm using a Queue . Pls help.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

It seems that your MDB is using the transaction in the EJB, but you are using non-XA connection factory and thus the transaction is not propagated to the underlying JMS and it waits for the transaction. That's why only the first message is delivered

Check your descriptors and switch from something like :

jmsfactory/default/QueueConnectionFactory

to

jmsfactory/default/XAQueueConnectionFactory

Hope it helps

Peter

Answers (0)