You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Tim Dudgeon <td...@gmail.com> on 2015/06/05 19:57:19 UTC
monitoring JMS
Camel provides a nice way to submit and consume from JMS queues.
I also need to be able to monitor those queues. Does The JMS Component
provide and nice hooks for inspecting those queues, or do I need to fall
back to raw JMS or JMX?
Example: I have a service that uses a Camel route to submit to a JMS
queue, but I also want the service to be able to tell me the number of
pending messages for the queue.
Thanks
Tim
Re: monitoring JMS
Posted by Tim Dudgeon <td...@gmail.com>.
Hi Carsten
Yes, that's what I kinda figured.
I did find BrowsableEndpoint, as described here which actually give me
most of what I need.
http://camel.465427.n5.nabble.com/Issue-trying-to-browse-a-activemq-queue-td477750.html
Beyond that it looks like I need JMX.
Tim
On 06/06/2015 06:21, Carsten Ringe wrote:
> Hi Tim,
>
> sounds like the setup that we are doing as well. I am not aware of any feature in the JMS component of Camel and we're using the JMX features of our message broker to get the information.
>
> We also deployed Jolokia to all our servers so getting JMX information can be done via HTTP requests. That way we don't have to leave our preferred communication and it is also fairly easy to get the information into a Camel route too.
>
> Hope this helps,
>
> Carsten
Re: monitoring JMS
Posted by Carsten Ringe <ca...@kopis.de>.
Hi Tim,
sounds like the setup that we are doing as well. I am not aware of any feature in the JMS component of Camel and we're using the JMX features of our message broker to get the information.
We also deployed Jolokia to all our servers so getting JMX information can be done via HTTP requests. That way we don't have to leave our preferred communication and it is also fairly easy to get the information into a Camel route too.
Hope this helps,
Carsten