Hi,

If you just want to get the handle of a queue object based on its name I think you can use the Session.createQueue(String queueName) method.

Regards,
jonas

*
*



Raffaele wrote:
Hi all,

I'm looking for a method to retrieve a specific queue based on its name,
that is a method that returns a Queue object.

In Oracle JMS implementation there is such a method, here it is:
http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b12023/oracle/jms/AQjmsSession.html#getQueue(java.lang.String,%20java.lang.String)

In ActiveMQ does it exist analogous method?

Best regards and thanks,

Raffaele

Reply via email to