什么是JBoss内部的消息?

时间:2017-09-15 14:20:52

标签: jboss jms netty hornetq

我无法在Jboss EAP 6中找到明确的飞行内消息定义。

Right now I am see that I have 4 messages stuck in-flight inside JBoss

如果我通过JMSToolBox连接到该队列,我看不到任何内容。只有在我重新启动jboss服务器后,它们才会在飞行中消失。

那么飞行中的消息究竟是什么?

3 个答案:

答案 0 :(得分:1)

在JMS术语中,在飞行中意味着已经发送但尚未发送的消息:

  1. 已被自动确认,或
  2. 得到客户承认,或
  3. 已注册尚未提交的交易。

答案 1 :(得分:0)

Messages "in flight" are messages that have already been delivered but not further acted on by the consumer.

Messages are considered in flight if they have been sent to a client but have not yet been deleted or have not yet reached the end of their visibility window.

答案 2 :(得分:0)

简单地说,发送到消费者会话并且没有收到确认消息的消息数量。