Results 1 to 2 of 2

Thread: Can Spring JMS not cache JNDI or redo JNDI lookup?

  1. #1
    Join Date
    Mar 2006
    Posts
    1

    Default 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. #2
    Join Date
    Feb 2005
    Location
    Boston, MA
    Posts
    1,142

    Default

    Set the cache property on your JndiObjectFactoryBean to false.
    Bill

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •