如何在不使用JMS消息的情况下读取它们-使用ActiveMQ [英] How to read JMS messages without consuming them - using ActiveMQ

查看:89
本文介绍了如何在不使用JMS消息的情况下读取它们-使用ActiveMQ的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有任何方法可以读取jms和actibemq消息而不消耗它?我知道消息可以从队列中使用,但是我仍然想问这个问题.

I would like to know if there is any way to read a jms and actibemq messages without consuming it ?? I know messages can be consumed from the queue , yet still I want ask this question .!!

推荐答案

您可以通过JMS QueueBrowser浏览队列中的消息,或者在ActiveMQ中可以通过JMX或使用命令行工具浏览内容:

You can browse Messages on a Queue via the JMS QueueBrowser, or in ActiveMQ you can browse the contents over JMX or with the commands line tools:

ActiveMQ控制台工具

JMS QueueBrowser API

ActiveMQ JMX

这篇关于如何在不使用JMS消息的情况下读取它们-使用ActiveMQ的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆