« Return to Thread: JMS + SimpleRetryConnectionStrategy +JNDI +OracleJMS ... not working

Re: JMS + SimpleRetryConnectionStrategy +JNDI +OracleJMS ... not working

by kennywest :: Rate this Message:

Reply to Author | View in Thread

I've done some further digging. The JNDI context is created near initJndiContext() in JMSMessageConnector. This is only called from the doConnect(), if connectionFactory == null method.
If somewhere the connection with the JNDI store is lost, the jndiContext member will fail when doing getJndiDestination() in Jms11Support.
Therefore the reconnect strategy does not cover loss of connections with JNDI stores. Am I correct?

Pleas note, I am not criticizing anything, just looking for the right solution ;)

 « Return to Thread: JMS + SimpleRetryConnectionStrategy +JNDI +OracleJMS ... not working