Hi Jay,
yes, this is the desired solution. I want to perform operations individually on each message in the queue and I want to display the messages inside the tree node of the queue. But the nature of a message queue is it's volatility, right? So if the message is consumed, the resource representing that message still exists and will not be discarded. I had a solution working in that way, I already had nice entries in the Dummy queue (see screenshot), but tons of alerts due to missing resources or a growing list of child resources :-)
I found a workaround, but haven't implemented it yet since I thought there might be a more elegant solution: I could start a cyclic job in the parent resource (service) that is fetching each queue and deleting message resources that do not exist anymore. What is your opinion doing it that way?
Your second solution, dealing with message ID parameter for operations on the queue level, is going into production next week. But be honest, this is not very user friendly, is it?
I don't think this is a rare use case. So what should I do? Any idea is very appreciated.
Thanks, Boris
Am 08.01.2013 um 13:00 schrieb rhq-users-request@lists.fedorahosted.org:
Send rhq-users mailing list submissions to rhq-users@lists.fedorahosted.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.fedorahosted.org/mailman/listinfo/rhq-users or, via email, send a message with subject or body 'help' to rhq-users-request@lists.fedorahosted.org
You can reach the person managing the list at rhq-users-owner@lists.fedorahosted.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of rhq-users digest..."
Today's Topics:
- Re: Displaying any kind of resource content (Jay Shaughnessy)
Message: 1 Date: Mon, 07 Jan 2013 09:27:25 -0500 From: Jay Shaughnessy jshaughn@redhat.com To: rhq-users@lists.fedorahosted.org Subject: Re: Displaying any kind of resource content Message-ID: 50EADB4D.7010803@redhat.com Content-Type: text/plain; charset=UTF-8; format=flowed
Can you mention why making the messages child resources was nt successful? It seems like that is the aproach you would want, to be able to inspect and operate on each message individually. Although, given normal message delivery and the brief lifecycle of each message, it would seem like there would be a lot of resource churn.
Perhaps you could do it all as operations on the queue itself. An operation that lists the current messages, including identifying ID information. And further operations that operate on messages given the ids.
On 1/5/2013 10:01 AM, John Mazzitelli wrote:
Are there any suggestions how to expose resource specific content, or do I have to implement a server side GUI extension?
There is a lot of documentation around on writing custom agent plugins - I would start here and poke around to see if something helps:
https://docs.jboss.org/author/display/RHQ/Plugin+Community
There is no custom GUI extensions supportable in RHQ - there are custom server side plugins, but that isn't for the GUI and it doesn't sound like that is what you want. I think agent plugins should help you do most, if not all, that you want.
----- Original Message -----
Hi!
My name is Boris, I am currently working at EON Energy Trading in Germany. We are currently using RHQ in order to monitor some Servicemix and ActiveMQ instances. I am quite new to this tool, and I was able to implement the first custom agent plugin using JMX. My intention now is to display the content of the queues of ActiveMQ. My first attempt, exposing the messages inside the queues as resources itself, wasn't very successful. I want to perform some custom operations on that content, like re-enqeuing, purging and deleting and so on.
Many thanks for your help Boris
rhq-users mailing list rhq-users@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/rhq-users
rhq-users mailing list rhq-users@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/rhq-users
rhq-users mailing list rhq-users@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/rhq-users
End of rhq-users Digest, Vol 36, Issue 6
rhq-users@lists.fedorahosted.org