jms session interface has 2 similar methods: rollback , recover. used in different ack mode: rollback in transaction , recover in client ack. except that, main difference of these 2 methods.
rollback: tells broker current client not process current message(s). broker policy dictates if redeliver same (or other) consumer or roll messages dead letter queue
recover: instructs broker redeliver unacknowledged messages current session
Comments
Post a Comment