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: Setting subscriptionRecoveryPolicy with ActiveMQConnectionFactory
Date Mon, 31 Dec 2007 17:12:10 GMT
On 30/12/2007, Fady <fady@legsem.com> wrote:
>
> Hello,
>
> I am new to ActiveMQ. I have ActiveMQ 5.0.0 embedded in Tomcat, getting
> connections from ActiveMQConnectionFactory.
>
> So far, I used a simple URL vm://localhost?broker.persistent=false.
>
> Now, I have the need to disable the subscription recovery policy
> (http://activemq.apache.org/subscription-recovery-policy.html).
>
> I can't figure out a way to set the NoSubscriptionRecoveryPolicy while
> starting the broker via ActiveMQConnectionFactory.
>
> Any help would be greatly appreciated.

Try starting a broker using your own Java code...
http://activemq.apache.org/how-do-i-embed-a-broker-inside-a-connection.html
-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Mime
View raw message