On 30/12/2007, Fady <[EMAIL PROTECTED]> 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