KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > tutorial > consumer > bean > ExampleProducerXA


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.tutorial.consumer.bean;
8
9 import java.util.Map JavaDoc;
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 /**
17  * comment
18  *
19  * @author <a HREF="mailto:bill@jboss.org">Bill Burke</a>
20  */

21 @Local @Producer(connectionFactory="java:/JmsXA")
22 public interface ExampleProducerXA extends ExampleProducer
23 {
24    @MessageProperties(delivery=DeliveryMode.PERSISTENT, priority=4)
25    void method2(String JavaDoc msg, Map JavaDoc<String JavaDoc, String JavaDoc> map);
26 }
27
Popular Tags