<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
    "http://java.sun.com/dtd/ejb-jar_2_0.dtd">

<ejb-jar>
    <enterprise-beans>
        <message-driven>
            <ejb-name>MDBFailureExample</ejb-name>
            <ejb-class>org.jboss.example.jms.mdbfailure.MDBFailureExample</ejb-class>
            <transaction-type>Container</transaction-type>
            <message-driven-destination>
               <destination-type>javax.jms.Queue</destination-type>
            </message-driven-destination>
        </message-driven>
    </enterprise-beans>

 <assembly-descriptor>
        <container-transaction>
            <method>
                <ejb-name>MDBFailureExample</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Required</trans-attribute>
        </container-transaction>
    </assembly-descriptor>
</ejb-jar>