[jboss-user] [JBoss Messaging] - Re: Expiaration date does not work ?

ivan.rododendro do-not-reply at jboss.com
Thu Dec 4 11:30:59 EST 2008

>From JMS 1.1 specification: 

anonymous wrote : At the cost of higher overhead, a subscriber can be made durable. A durable
  | subscriber registers a durable subscription with a unique identity that is retained
  | by JMS. Subsequent subscriber objects with the same identity resume the
  | subscription in the state it was left in by the prior subscriber. If there is no
  | active subscriber for a durable subscription, JMS retains the subscription’s
  | messages until they are received by the subscription or until they expire.

I don't know what you mean for "rollback" in this case... the message is posted on the topic, delivered once, never acked. Then the topic is unsuscribed and the session is closed, I'm expecting not to find the message in the topic when specified TTL has expired. 

As the ack is a client responsablity, the goal is not to have too many messages wating for an ack which is not under the control of the system.

What do you mean for "rollback"? Maybe  session.recover() ?

Thank you

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

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

More information about the jboss-user mailing list