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: Durable subscriptions with Spring 2.0
Date Mon, 12 Jun 2006 07:05:40 GMT
On 6/11/06, ENP <prokopiev@stc.donpac.ru> wrote:
>
> Hi,
>
> What is the right way to create durable subscriptions with Spring 2.0?
>
> I know about http://jencks.org/Message+Driven+POJOs but now Spring 2.0 have
> native message consuming support. Can I use it or need I extend it in any
> way?

You can create durable subscriptions via JMX...
http://incubator.apache.org/activemq/jmx.html

and the MBeans
http://incubator.apache.org/activemq/maven/activemq-core/apidocs/org/apache/activemq/broker/jmx/package-summary.html

Or you can use the JMS API to create a durable subscriber
http://java.sun.com/j2ee/1.4/docs/api/javax/jms/Session.html#createDurableSubscriber(javax.jms.Topic,%20java.lang.String)

Though you'll have to check with the Spring folks how to do it in Spring 2.0

-- 

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

Mime
View raw message