0
  1. 我在 HermesJMS 上创建了一个成功的 SolaceSession。我能够从 HermesJMS(HermesJMS>>Messages>>Send a text message)成功地将消息发送到 JMS 队列(TEST.1)。

    我可以在 SolAdmin 中看到消息假脱机计数增加了 1。

  2. 但是当我从 HermesJMS 浏览 JMS 队列(TEST.1)时,我无法在 HermesJMS 中查看它们。

    在底部,我在 HermesJMS 上看到这条消息:在 SolaceSession 上浏览 TEST.1:完成还有这条消息:完成。没有消息阅读。

  3. 检查 hermes.log 后,我看到以下消息:

2018-07-13 09:57:07,654 [Context_3_ReactorThread] 调试 com.solacesystems.jcsmp.impl.flow.SubFlowManagerImpl - Demux pub msg:com.solacesystems.jcsmp.impl.JCSMPGenericXMLMessage [ messageId=29609213 ,ackMessageId=0,prevId= 0,CID_count=0,userData=,type=PERSISTENT,priority=-1,redelivered=false,timeToLive=0,expiration=0,dmqEligible=false,topicSeqNum=null,metadataLen=0,contentLen=94,attLen=0, deliverToOne=false,ackImmediately=false,sendCount=0]

消息 ID 与 SolAdmin 中的相同。

2018-07-13 09:57:07,670 [Context_3_ReactorThread] 调试 com.solacesystems.jcsmp.impl.flow.SubFlowManagerImpl - 接收到的传入消息没有找到 flowId = 8676 的活动流,忽略。

您能否让我知道为什么 Solace 会忽略该消息,最终 hermesJMS 不会显示它。

在此先感谢您的帮助。

4

1 回答 1

0

看起来您尚未将-DSolace_JMS_Browser_Timeout_In_MS=1000JVM 系统属性添加到 Hermes。您可以参考https://dev.solace.com/integration-guides/hermes-jms/了解有关如何设置 Hermes 以使用 Solace 的完整详细信息。

如果设置后问题仍未解决-DSolace_JMS_Browser_Timeout_In_MS=1000,请提供全套日志。

于 2018-07-13T05:12:17.233 回答