Handling Connection Errors in MDB

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

You can force factory to retry connecting a certain number of times, but ... is it possible to do some action every time you need to reconnect? Is it possible to somehow register an ExceptionListener in a MessageDrivenBean connection?

Many thanks.

+3
source share
2 answers

Finally, I was not able to do this, but I changed jmsjra to JMSJCA, which suits me better. JMSJCA is included in the ESB Glassfish project.

+2
source

- , MDB. relativeID , .

0

Source: https://habr.com/ru/post/1733366/


All Articles