Manorrock logo
Almanacs     Products     Open SourceSign In

EJB @ActivationConfigProperty

Javadoc

The @ActivationConfigProperty annotation can be used to select message a particular message bean is going to consume. In the example below the message bean will only consume messages with a key of value 'special'.

  
  @MessageDriven(activationConfig={
    @ActivationConfigProperty(
      propertyName="messageSelector",
      propertyValue="key = special"}
  )
  public class MyMessageBean {
  }
                

Up


Documents     Press releasesAbout us     Privacy    
Copyright notice