1 22 package org.jboss.ejb3.test.interceptors2; 23 24 import javax.ejb.ActivationConfigProperty ; 25 26 import org.jboss.annotation.ejb.Consumer; 27 28 33 @Consumer ( 34 activationConfig={ 35 @ActivationConfigProperty (propertyName="destinationType", propertyValue="javax.jms.Queue"), 36 @ActivationConfigProperty (propertyName="destination", propertyValue="queue/defaultonlyqueue") 37 }) 38 public class DefaultOnlyConsumer implements DefaultOnlyProducer 39 { 40 public void method() 41 { 42 System.out.println("DefaultOnlyConsumer method"); 43 } 44 } 45 | Popular Tags |