org.jboss.annotation.ejb
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.

Author:
Bill Burke

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.annotation.ejb.MessageProperties.class