3 Replies Latest reply on Nov 2, 2011 5:45 AM by Andy Taylor

    Exposing core queues via JNDI?

    Jukka Dahlbom Newbie

      For purposes of using a core bridge, I have defined a queue in hornet-configuration.xml, and set it as a source for a core bridge (as in the bridge example):


            <queue name="jms.queue.notificationQueue">







           <bridge name="my-bridge">










      Now, I need to expose that (core) queue through JNDI  so that my application can use it.


      So far I have been able to trivially expose any queues to JNDI by defining them in the hornetq-jms.xml,

      but this one needs to be defined before the bridge, so that option is not available.


      How do I expose a Hornetq core queue to JNDI (as JMS queue)?