@Target(value=TYPE)
@Retention(value=RUNTIME)
@Repeatable(value=DeliveryGroups.class)
public @interface DeliveryGroup
Adds the MDB to one or more delivery groups.
In the case of a single delivery group, the messages are delivered to the MDB only when the delivery group is active. If the
delivery group is not active, the messages will not be delivered until an administrator executes
a management operation on the MDB delivery group to activate it.
For multiple delivery groups, this annotation is repeatable and can be used more than once in the same MDB.
If multiple delivery groups are specified, the messages are delivered to the MDB only when all specified delivery groups are active.
- Author:
- Flavia Rainone