you need to use persistent messages for durable subscribers: http://activemq.apache.org/why-do-i-not-receive-messages-on-my-durable-topic-subscription.html
On the ERROR message: there is a recent fix on trunk that should help, could you try a 5.3-SNAPSHOT see: https://issues.apache.org/activemq/browse/AMQ-2123 2009/3/5 pclovec <[email protected]> > > same clientid, same consumerid. create durableConusmer..... message is > non-persistent menutime when i try to stop the consumer and restart it > again. it will be miss the non-persistent messages. > > if i change the message to persistent from non-persistent . restart the > conusmer can get all message(no skip message). but it appear anohter > issue > that ActiveMQ show me this error message..... > > ActiveMQ 5.2.0 > 2009-03-04 15:28:27,703 [main ] INFO log > - Started [email protected]:8161 > 2009-03-04 15:28:27,953 [main ] INFO TransportConnector > - Connector vm://localhost Started > 2009-03-04 15:29:30,359 [/127.0.0.1:3379] ERROR RecoveryListenerAdapter > - Message id 3854a955-d084-4aa4-9210-ddbc5268c459:1:1:188 could not be > recovered from the data store - already dispatched > > > have any people also met this problem? or just i miss something? > -- > View this message in context: > http://www.nabble.com/does-Durable-Consumer-can-get-all-non-persistent-message--tp22362955p22362955.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- http://blog.garytully.com Open Source SOA http://FUSESource.com
