Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以在 solace JMS 队列中搜索任何特定消息,然后在其他消息之前处理吗?我们是否有这样的功能来安慰队列。
没有这样的功能可以在安慰队列中搜索消息。这些是为按接收顺序处理的消息而设计的。
您可以使用 QueueBrowser 获取消息的静态快照,并在其他消息之前处理您想要的那些消息。如果它适用于您的搜索用例,使用选择器也可能会有所帮助。但是只有 Solace API 的原生 Java 实现可以删除消息;JMS QueueBrowser 不提供该功能。