activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Specifying queues at runtime inside tomcat
Date Mon, 12 Jun 2006 08:51:30 GMT
On 6/11/06, Paul Worrall <paul.worrall@interition.net> wrote:
> Hi,
>
> Documentation and previous messages on the list explain how to configure
> ActiveMQ as a resources in Tomcat.  However, the examples show the
> queues being defined as resources as well.  I need to specify the queues
> I want at runtime from a servle.  How do I do this?

Some background here...

http://incubator.apache.org/activemq/how-do-i-create-new-destinations.html

You can just instantiate the POJOs ActiveMQQueue and ActiveMQTopic
directly if you like - or just use the createQueue()/createTopic()
methods on JMS Session.

-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message