I use Java client and Java-broker. Every time I start a subscriber, it will get the messages from the queue. It seems that the messages always exist in the queue. How can I make the message removed when it is published to a subscriber? I use the default exchange amq.direct and below is the JNDI properties:
java.naming.factory.initial = org.apache.qpid.jndi.PropertiesFileInitialContextFactory connectionfactory.qpidConnectionfactory = amqp://guest:gu...@clientid/test?brokerlist='tcp://localhost:5672' destination.directQueue = direct://amq.direct//message_queue?routingkey='routing_key' -- View this message in context: http://apache-qpid-users.2158936.n2.nabble.com/How-can-I-make-the-message-in-queue-auto-deleted-tp5514404p5514404.html Sent from the Apache Qpid users mailing list archive at Nabble.com. --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
