Re: Messages are not removed from queue after onMessage is fired

2008-01-22 Thread Fady
onMessage(Message message) { try { mMatchReporter.report(((TextMessage) message).getText()); } catch (JMSException e) { LOG.error("Unable to store audit trace for a match", e); } catch (MatchReporterException e) { LOG.error("Unable to store audit trace for a

Re: Messages are not removed from queue after onMessage is fired

2008-01-22 Thread Fady
missed? Thanks again for your help Fady James.Strachan wrote: > > On 22/01/2008, Fady <[EMAIL PROTECTED]> wrote: >> >> Hello, >> >> I am new to JMS and ActiveMQ so I am probably doing something stupid but >> can't figure out what it is: >>

Messages are not removed from queue after onMessage is fired

2008-01-22 Thread Fady
and a MessageListener processing them in an onMessage event. Everything goes fine apart from the queue size which keeps growing (as reported by JMX). I was assuming messages would be automatically removed once the onMessage method terminates. Any help would be greatly appreciated. Fady -- View

Setting subscriptionRecoveryPolicy with ActiveMQConnectionFactory

2007-12-30 Thread Fady
/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. Fady -- View this message in context: http://www.nabble.com/Setting-subscriptionRecoveryPolicy