Announcement Announcement Module
Collapse
No announcement yet.
Can Spring JMS not cache JNDI or redo JNDI lookup? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can Spring JMS not cache JNDI or redo JNDI lookup?

    We have one app A subscribing messages from a queue in another server B. Whenever B is restarted (together with the associated JMS server), A also needs to restart because the JDNI lookup cached in A no longer work.

    Does Spring JMS have any setting which will detect if a new JNDI lookup is required so that the app A doesn't need to restart if server B is restarted?

  • #2
    Set the cache property on your JndiObjectFactoryBean to false.

    Comment

    Working...
    X