1 22 package org.jboss.annotation.ejb; 23 24 import java.lang.annotation.ElementType ; 25 import java.lang.annotation.Retention ; 26 import java.lang.annotation.RetentionPolicy ; 27 import java.lang.annotation.Target ; 28 29 30 36 @Target ({ElementType.METHOD, ElementType.TYPE}) 37 @Retention (RetentionPolicy.RUNTIME) 38 public @interface MessageProperties 39 { 40 DeliveryMode delivery() default DeliveryMode.PERSISTENT; 41 int timeToLive() default 0; 42 int priority() default 4; 43 Class getInterface() default MessageProperties.class; 44 } 45 | Popular Tags |