1 7 package org.jboss.tutorial.consumer.bean; 8 9 import java.util.Map ; 10 import org.jboss.annotation.ejb.DeliveryMode; 11 import org.jboss.annotation.ejb.MessageProperties; 12 import org.jboss.annotation.ejb.Producer; 13 import org.jboss.annotation.ejb.Local; 14 15 16 21 @Local @Producer(connectionFactory="java:/JmsXA") 22 public interface ExampleProducerXA extends ExampleProducer 23 { 24 @MessageProperties(delivery=DeliveryMode.PERSISTENT, priority=4) 25 void method2(String msg, Map <String , String > map); 26 } 27 | Popular Tags |