停止队列听众的正确方法
在这里看到了一种用方法停止在defaultMessageListenerContainer中停止听众的方法如何暂停/恢复单个Spring JMS消息听众,但我不知道考虑到我的要求是正确的方法。如果我在调用停止时处理消息,它将继续处理?还是会删除消息?可以停止()失败吗?
saw here a way to stop the listener with the method stop in DefaultMessageListenerContainer How to pause/resume individual Spring JMS message listeners, but I don't know if it's the right way considering my requirement. if I'm processing a message while stop is called, it will continue the processing? or will drop the message? can stop() fail?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论