@MessageDriven (activationConfig = { @ActivationConfigProperty ( propertyName = "destinationType", propertyValue = "javax.jms.Queue"), @ActivationConfigProperty ( propertyName = "destinationLookup", propertyValue = "jms/SomeQueue") }) public class AMessageBean implements MessageListener { public AMessageBean () { ... } @Override public void onMessage (Message aMessage) { ... } ... }
method invocations serialized by the container
multiple instances can be created by the container
message delivery order between instances is not defined