activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: Discover queues and topics on JNDI
Date Mon, 22 Mar 2010 11:21:08 GMT
Hi Daniel,

I referred to statically created destinations in jndi.properties. I'm not
sure you can use JNDI to list all available destinations on the broker.
You'd better use JMX for that (http://activemq.apache.org/jmx.html)

Cheers
--
Dejan Bosanac - http://twitter.com/dejanb

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Mon, Mar 22, 2010 at 11:42 AM, Daniel Luis dos Santos <
daniel.dlds@gmail.com> wrote:

>
> If you are referring to the "Dynamically creating destinations" part, I
> have
> found those names in JNDI (dynamicQueues and dynamicTopics), tried to do a
> list and got a naming exception. Other than those names only got the
> connection factory objects. The destinations seen in the admin console are
> stored where (like the queue example.A)?
>
>
>
> Dejan Bosanac wrote:
> >
> > Hi,
> >
> > all explicitly created destinations should be listed. Are you sure you're
> > creating destinations with the appropriate prefix as explained here:
> >
> > http://activemq.apache.org/jndi-support.html
> >
> > Cheers
> > --
> > Dejan Bosanac - http://twitter.com/dejanb
> >
> > Open Source Integration - http://fusesource.com/
> > ActiveMQ in Action - http://www.manning.com/snyder/
> > Blog - http://www.nighttale.net
> >
> >
> > On Mon, Mar 22, 2010 at 12:04 AM, Daniel Luis dos Santos <
> > daniel.dlds@gmail.com> wrote:
> >
> >>
> >> Hello,
> >>
> >> I am trying to discover what queues and topics are registered on the
> JNDI
> >> namespace of activeMQ. Right now I am discovering the connection
> >> factories
> >> and a dynamicTopics and dynamicQueues naming contexts that I don't know
> >> what
> >> they are.
> >>
> >> Is it possible ?
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/Discover-queues-and-topics-on-JNDI-tp27978162p27978162.html
> >> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > -----
> > Dejan Bosanac
> >
> > Open Source Integration - http://fusesource.com/
> > ActiveMQ in Action - http://www.manning.com/snyder/
> > Blog - http://www.nighttale.net
> >
>
> --
> View this message in context:
> http://old.nabble.com/Discover-queues-and-topics-on-JNDI-tp27978162p27984578.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message