Weblogic 上的持久订阅者。它是如何运作的?
我想了解一件事:当在某个主题上激活持久订阅者时,除了该主题之外还有另一个订阅者(mdb)。持久订阅者是否可能获取消息但不将其提供给 MDB?
多谢..
I want to understand a thing: When a durable subscriber is activated on a topic, in add on this topic there is another subscriber (mdb). Is possible that the durable subscriber take the messages and don't provide it to the MDB?
Thanks a lot..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当消息发送到主题时,发布者和消费者之间有意分开。
尽管可以通过多种方法创建围绕发送给所有消费者的事务传递,但消费者无法在获取消息的同时阻止其他消费者接收消息。
When a message is sent to a topic, by intent there's a separation between the publisher and the consumers.
Although there are ways you can create transactional delivery around sending to all consumers, there's no way a consumer can take a message and prevent other consumers from receiving a message as well.