Add support to mdb delivery-groups
----------------------------------
Key: WFLY-5151
URL:
https://issues.jboss.org/browse/WFLY-5151
Project: WildFly
Issue Type: Feature Request
Components: EJB
Reporter: Flavia Rainone
Assignee: Flavia Rainone
Priority: Minor
Fix For: 10.0.0.Beta2
Add support to mdb delivery-groups. A delivery-group is a resource inside ejb3 subsystem.
This resource can be active:
<delivery-groups>
<delivery-group name="group" active="true"/>
</delivery-groups>
Whenever the delivery-group is active, all mdbs belonging to that group will have a
delivery active state. If the delivery-group is not active, all mdbs belonging to that
group will have a delivery disabled.
The state of delivery-groups can be controlled by cli, using the commands:
./subsystem=ejb3/mdb-delivery-group=group:add
./subsystem=ejb3/mdb-delivery-group=group:remove
./subsystem=ejb3/mdb-delivery-group=group:write-attribute(name=active,value=true)
An MDB can be associated with a delivery-group at jboss-ejb3.xml or with an annotation.