[jboss-user] [Messaging, JMS & JBossMQ] - Message Consumed several Times

priyarao234 do-not-reply at jboss.com
Fri May 9 03:13:13 EDT 2008


i'm using JBOSS as App Server and in my publisher program i'm using PERSISTENT like below.... but while running the consumer program the same message is consumed at first time and that is fine.. and i'm closing the consumer program and then again i'm running the consumer program but the same message is again consumed. But actually ones the message is consumed after that it has to be expired so please provide the solution...and how the publisher program knows that the message was consumed or not ? plz fell free to giv reply.. 
publisher.publish(msg, 
javax.jms.DeliveryMode.PERSISTENT, 
javax.jms.Message.DEFAULT_PRIORITY, 0); 
 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149661#4149661

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149661



More information about the jboss-user mailing list