0

I would like to know how to block the current queue on the previous unacknowledged message ? I won't that following messages are consumed while the unacknowledged message is acknowledged.

What is the normal behaviour of JMS in this case ?

Thx :)

4

1 回答 1

0

我使用了交易会话!当消费者消费一条消息并且在处理之后,它没有被确认,会话被回滚。并且消息被重新提供给提供者。

这种做法好吗?最佳解决方案?

于 2013-06-19T19:30:51.870 回答