org.jboss.ejb3.annotation
Annotation Type MessageProperties


@Target(value={METHOD,TYPE})
@Retention(value=RUNTIME)
public @interface MessageProperties

Annotation for specifying the message properties for a Consumer bean. It is placed on the Producer interfaces.


Optional Element Summary
 DeliveryMode delivery
           
 java.lang.Class<?> getInterface
           
 int priority
           
 int timeToLive
           
 

delivery

public abstract DeliveryMode delivery
Default:
PERSISTENT

timeToLive

public abstract int timeToLive
Default:
0

priority

public abstract int priority
Default:
4

getInterface

public abstract java.lang.Class<?> getInterface
Default:
org.jboss.ejb3.annotation.MessageProperties.class