Search code examples
javajakarta-eeejbejb-3.0message-driven-bean

Handling connection errors in a MDB


Is it possible to manage connection timeouts or errors in a MessageDrivenBean?

You can make the factory to retry connecting a certain number of times but... is it possible to make some actions each time that a reconnection retrial is neccesary? Is it possible to register an ExceptionListener into the MessageDrivenBean's connection somehow?

Thanks a lot.


Solution

  • Finally I wasn't able to do this but I changed jmsjra to JMSJCA that fits better my needings. JMSJCA is included in Glassfish ESB project.