-
1. Re: hawtio, artemis and WildFly - plugin for monitoring messaging configuration (?) problem
jbertram Aug 4, 2016 12:21 PM (in response to kot.filemon)Try adding this to the Artemis configuration:
<management jmx-enabled="true"/>
-
2. Re: hawtio, artemis and WildFly - plugin for monitoring messaging configuration (?) problem
bligny Aug 9, 2016 8:49 AM (in response to jbertram)By adding the line:
<management jmx-enabled="true"/>
I am now able to have the Artemis plugin working (with Wildfly 10).
I do see the Artemis tab, I do see the tree with the queues. Nice !However, the actions such as "create" (queue/topic), "browse" and "send" are not working. No real error but yet not effect :-(
As these "special" operations are not exposed in JMX (and cannot therefore be invoked via jolokia like other standard JMX operations), I would like to know if such operations are supposed to work also in Wildfly (or in contrary are implemented specifically for a standalone artemis distribution)
Thx in advance
PS: I did fill the credentials security settings in the preferences pane of artemis.
And the credential i am using has the sufficient privileges:
<server name="default"> <management jmx-enabled="true"/> <security-setting name="#"> ... <role name="admin" manage="true" delete-non-durable-queue="true" create-non-durable-queue="true" delete-durable-queue="true" create-durable-queue="true" consume="true" send="true"/> </security-setting>
-
3. Re: hawtio, artemis and WildFly - plugin for monitoring messaging configuration (?) problem
bligny Oct 24, 2016 8:01 AM (in response to kot.filemon)For information, Wildfly 10 is bundled with Artemis 1.1, while the hawtio-artemis plugin is not compatible with this version :-(
Sight...
-
4. Re: hawtio, artemis and WildFly - plugin for monitoring messaging configuration (?) problem
jbertram Oct 24, 2016 9:16 AM (in response to bligny)I suppose I misunderstood what you wanted to do based on your original comment. You indicated you wanted to "monitor" Artemis which I took to mean that you just wanted read-only operations. If you really want to "manage" the broker (i.e. do read and write operations like creating queues, etc.) then you should use the Wildfly management layer as it will take care of updating the XML configuration e.g. when a queue is created. There's lots of ways to interact with the Wildfly management layer (e.g. HTTP interface, CLI, etc.). You should also be able to use JConsole or HawtIO (although I haven't tried it) as the management layer is exposed via MBeans. If you don't want to use the Wildfly management layer and you would really like to use the hawtio-artemis plugin then I would recommend running Artemis independently of Wildfly.