Re: having problem with durable subscription

2008-06-13 Thread eaglepointe
I was using 'PERSISTENT' mode on publisher side, which causes the dead loop of 'SHUTDOWN message not acked --> redelivery of SHUTDOWN message upon subscriber start'. eaglepointe wrote: > > Yes, I'm running 5.1.0 and using default activemq.xml. I

Re: having problem with durable subscription

2008-06-13 Thread eaglepointe
d your code works > fine. I see the subscription is durable across consumer and broker > restarts. > Have you modified your activemq.xml, are you running with 5.1.0? > > /Dave > On Fri, Jun 13, 2008 at 1:05 PM, eaglepointe <[EMAIL PROTECTED]> > wrote: > >>

Re: having problem with durable subscription

2008-06-13 Thread eaglepointe
Forgot to mention that I also restarted message broker before start durable subscriber again. eaglepointe wrote: > > Ok, here is what I did, > > 1) start message broker > 2) start a durable subscriber which subscribes "topictest.messages" as the > attached code

Re: having problem with durable subscription

2008-06-13 Thread eaglepointe
our grateful, -Jeff Dave Stanley wrote: > > Your not running this from within a thread by any chance? I don't > believe connection.start() is going to block, so try and create the > connection outside the thread and pass it in by reference to the thread > instance. >

having problem with durable subscription

2008-06-12 Thread eaglepointe
Hi, I'm new to ActiveMQ and having problem with durable subscription, following code based on example code, === public void run() throws JMSException { ActiveMQConnectionFactory factory = new ActiveMQConnectionFactory(url