I want to list information about, start and stop the delivery of MDBs running in several servers. This page https://access.redhat.com/solutions/428023
shows how to stop and start MDB's delivery in standalone mode:
[standalone@localhost:9999 /] /deployment=MDBStopDeliveryApplication.jar/subsystem=ejb3/message-driven-bean=TestMDB:start-delivery(){"outcome" => "success"}
[standalone@localhost:9999 /] /deployment=MDBStopDeliveryApplication.jar/subsystem=ejb3/message-driven-bean=TestMDB:stop-delivery()
Can this be done in domain mode for all the servers? if so how?
[domain@ ip :9999 /] /deployment=name.ear/subsystem=ebj3/whatever
[domain@ ip :9999 /] /deployment=name.ear/subsystem=ebj3:whatever()
I can't do any operation on the subsystem=ebj3, or any of it's children. And TAB for completion is also doing nothing. The result of any operation is always:
{
"outcome" => "failed",
"failure-description" => "JBAS014883: No resource definition is registered for address [
(\"deployment\" => \"name.ear\"),
(\"subsystem\" => \"ebj3\")
]",
"rolled-back" => true
}