-
1. Re: HornetQ monitoring in Jboss 7.1.0 beta
ataylor Nov 29, 2011 5:57 AM (in response to innysia)this is really a question for the AS7 forum
-
2. Re: HornetQ monitoring in Jboss 7.1.0 beta
jaikiran Nov 29, 2011 11:14 AM (in response to innysia)innysia wrote:
We could do monitoring throuhg JConsole for Jboss 7.0.1 but when we upgraded to 7.1 we were no longer able to do this
What exact problem are you running into?
-
3. Re: HornetQ monitoring in Jboss 7.1.0 beta
innysia Nov 30, 2011 2:19 PM (in response to jaikiran)We don't see the hornetq folder under MBeans (and it was there for 7.0.1)
-
4. Re: HornetQ monitoring in Jboss 7.1.0 beta
daniel_spasojevic Feb 13, 2012 4:00 AM (in response to innysia)Hi,
It appears that some information is available under jboss.as.messaging. However, most of the information that is interesting in terms of monitoring doesn't seem to be present in 7.1.0.CR1b.
Previously (7.0.2), there were attributes to monitor the MessageCount and operations to remove messages from queues, etc.
Interestingly, there is still an attibute to control the retention time for message statistics.
Have those attributes and operations been moved to somewhere else? Or is there are replacement method that doesn't use JMX?
The management model has the same (relative) lack of information and operations:
[standalone@localhost:12099 /] /subsystem=messaging/hornetq-server=default/address-setting=jms.queue.MyQueue:read-resource
{
"outcome" => "success",
"result" => {
"address-full-policy" => "PAGE",
"dead-letter-address" => "jms.queue.deadLetterQueue",
"expiry-address" => "jms.queue.expiryQueue",
"last-value-queue" => false,
"max-delivery-attempts" => 5,
"max-size-bytes" => -1L,
"message-counter-history-day-limit" => 0,
"page-size-bytes" => 10485760L,
"redelivery-delay" => 1000,
"redistribution-delay" => -1L,
"send-to-dla-on-no-route" => false
}
}
Thanks,
-Dan
-
5. Re: HornetQ monitoring in Jboss 7.1.0 beta
gonne Feb 14, 2012 4:17 AM (in response to innysia)Hi,
try to enable JMX for HornetQ:
{code}
/subsystem=messaging/hornetq-server=default:write-attribute(name=jmx-management-enabled, value=true)
{code}
Regards,
Gonne
-
6. Re: HornetQ monitoring in Jboss 7.1.0 beta
daniel_spasojevic Feb 14, 2012 7:40 PM (in response to gonne)Perfect, thanks.
For other people, the actual operations for a queue are also available through the management model at:
/subsystem=messaging/hornetq-server=default/jms-queue=AHAudit:read-operation-names
Thanks again Gonne.