Hi all,
I tried management via stomp. For instance:
- I subscribe to jms.topic.temp0
- then I send the request and as headers I put:
_HQ_ResourceName:jms.queue.loadq-0
_HQ_Attribute:Name
reply-to:jms.topic.temp0
response:
VAR1 = bless( {
'text' => 0,
'body_reference' => \'["loadq-0"]',
'header' => {
'priority' => '0',
'redelivered' => 'false',
'timestamp' => '0',
'destination' => 'jms.topic.temp0',
'_HQ_OperationSucceeded' => 'true',
'subscription' => '12c98230-4e15e49a-7e1a-78fc-2',
'message-id' => '58452602',
'expires' => '0'
}
}, 'MIG::Message' );
It ha been helpful to look here: http://hornetq.sourceforge.net/docs/hornetq-2.1.0.CR1/api/src-html/org/hornetq/api/core/management/ManagementHelper.html
I wonder what I should put if I want to get server attributes... (from objects org.hornetq:module=Core,type=Server and org.hornetq:module=JMS,type=Server)
Cheers,
-Massimo