<?xml version='1.0' encoding='UTF-8'?>
<ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" version = "3.0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd">
  <enterprise-beans>
    <session>
    
      <description>SynchronousMessageBean remote EJB session</description>
      <display-name>SynchronousMessageBeanRemote</display-name>
      <ejb-name>SynchronousMessageBean</ejb-name>
      
      <home>gov.va.med.mediator.ejb.SynchronousMessageBeanRemoteHomeInterface</home>
      <remote>gov.va.med.mediator.ejb.SynchronousMessageBeanRemoteInterface</remote>
      
      <local-home>gov.va.med.mediator.ejb.SynchronousMessageBeanLocalHomeInterface</local-home>
      <local>gov.va.med.mediator.ejb.SynchronousMessageBeanLocalInterface</local>
      
      <ejb-class>gov.va.med.cds.ejb.SynchronousMessageBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Container</transaction-type>
      
      <resource-ref>
        <res-ref-name>default_workmanager</res-ref-name>
        <res-type>commonj.work.WorkManager</res-type>
        <res-auth>Container</res-auth>
        <res-sharing-scope>Shareable</res-sharing-scope>
      </resource-ref>
      
    </session>
    
    <message-driven>
      <ejb-name>AllergyAssessmentMDB</ejb-name>
      <ejb-class>gov.va.med.cds.ejb.CDSClinicalMdb</ejb-class>
      <transaction-type>Container</transaction-type>
      
      <activation-config>
        <activation-config-property>
          <activation-config-property-name>destinationType</activation-config-property-name>
          <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
        </activation-config-property>
        
        <activation-config-property>
          <activation-config-property-name>subscriptionDurability</activation-config-property-name>
          <activation-config-property-value>Durable</activation-config-property-value>
        </activation-config-property>
      </activation-config>
      
      <env-entry>
        <env-entry-name>ejb/BeanFactoryPath</env-entry-name>
        <env-entry-type>java.lang.String</env-entry-type>
        <env-entry-value>beanRefContext.xml</env-entry-value>
      </env-entry>
      
      <env-entry>
        <env-entry-name>ejb/mediator/defaultPersistOriginalMessage</env-entry-name>
        <env-entry-type>java.lang.Boolean</env-entry-type>
        <env-entry-value>true</env-entry-value>
      </env-entry>
      
      <resource-ref>
        <description></description>
        <res-ref-name>jms/cds/CDSClinicalJMSConnectionFactory</res-ref-name>
        <res-type>javax.jms.XAQueueConnectionFactory</res-type>
        <res-auth>Container</res-auth>
      </resource-ref>
      
    </message-driven>
    
    <message-driven>
      <ejb-name>AllergiesMDB</ejb-name>
      <ejb-class>gov.va.med.cds.ejb.CDSClinicalMdb</ejb-class>
      <transaction-type>Container</transaction-type>
      
      <activation-config>
        <activation-config-property>
          <activation-config-property-name>destinationType</activation-config-property-name>
          <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
        </activation-config-property>
        
        <activation-config-property>
          <activation-config-property-name>subscriptionDurability</activation-config-property-name>
          <activation-config-property-value>Durable</activation-config-property-value>
        </activation-config-property>
      </activation-config>
      
      <env-entry>
        <env-entry-name>ejb/BeanFactoryPath</env-entry-name>
        <env-entry-type>java.lang.String</env-entry-type>
        <env-entry-value>beanRefContext.xml</env-entry-value>
      </env-entry>
      
      <env-entry>
        <env-entry-name>ejb/mediator/defaultPersistOriginalMessage</env-entry-name>
        <env-entry-type>java.lang.Boolean</env-entry-type>
        <env-entry-value>true</env-entry-value>
      </env-entry>
      
      <resource-ref>
        <description></description>
        <res-ref-name>jms/cds/CDSClinicalJMSConnectionFactory</res-ref-name>
        <res-type>javax.jms.XAQueueConnectionFactory</res-type>
        <res-auth>Container</res-auth>
      </resource-ref>
      
    </message-driven>
    
    <message-driven>
      <ejb-name>PharmacyPartialMDB</ejb-name>
      <ejb-class>gov.va.med.cds.ejb.CDSClinicalMdb</ejb-class>
      <transaction-type>Container</transaction-type>
      
      <activation-config>
        <activation-config-property>
          <activation-config-property-name>destinationType</activation-config-property-name>
          <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
        </activation-config-property>
        
        <activation-config-property>
          <activation-config-property-name>subscriptionDurability</activation-config-property-name>
          <activation-config-property-value>Durable</activation-config-property-value>
        </activation-config-property>
      </activation-config>
      
      <env-entry>
        <env-entry-name>ejb/BeanFactoryPath</env-entry-name>
        <env-entry-type>java.lang.String</env-entry-type>
        <env-entry-value>beanRefContext.xml</env-entry-value>
      </env-entry>
      
      <env-entry>
        <env-entry-name>ejb/mediator/defaultPersistOriginalMessage</env-entry-name>
        <env-entry-type>java.lang.Boolean</env-entry-type>
        <env-entry-value>true</env-entry-value>
      </env-entry>
      
      <resource-ref>
        <description></description>
        <res-ref-name>jms/cds/CDSClinicalJMSConnectionFactory</res-ref-name>
        <res-type>javax.jms.XAQueueConnectionFactory</res-type>
        <res-auth>Container</res-auth>
      </resource-ref>
      
    </message-driven>
    
    <message-driven>
      <ejb-name>PharmacyFullMDB</ejb-name>
      <ejb-class>gov.va.med.cds.ejb.CDSClinicalMdb</ejb-class>
      <transaction-type>Container</transaction-type>
      
      <activation-config>
        <activation-config-property>
          <activation-config-property-name>destinationType</activation-config-property-name>
          <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
        </activation-config-property>
        
        <activation-config-property>
          <activation-config-property-name>subscriptionDurability</activation-config-property-name>
          <activation-config-property-value>Durable</activation-config-property-value>
        </activation-config-property>
      </activation-config>
      
      <env-entry>
        <env-entry-name>ejb/BeanFactoryPath</env-entry-name>
        <env-entry-type>java.lang.String</env-entry-type>
        <env-entry-value>beanRefContext.xml</env-entry-value>
      </env-entry>
      
      <env-entry>
        <env-entry-name>ejb/mediator/defaultPersistOriginalMessage</env-entry-name>
        <env-entry-type>java.lang.Boolean</env-entry-type>
        <env-entry-value>true</env-entry-value>
      </env-entry>
      
      <resource-ref>
        <description></description>
        <res-ref-name>jms/cds/CDSClinicalJMSConnectionFactory</res-ref-name>
        <res-type>javax.jms.XAQueueConnectionFactory</res-type>
        <res-auth>Container</res-auth>
      </resource-ref>
      
    </message-driven>
    
    <message-driven>
      <ejb-name>PharmacyRefillMDB</ejb-name>
      <ejb-class>gov.va.med.cds.ejb.CDSClinicalMdb</ejb-class>
      <transaction-type>Container</transaction-type>
      
      <activation-config>
        <activation-config-property>
          <activation-config-property-name>destinationType</activation-config-property-name>
          <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
        </activation-config-property>
        
        <activation-config-property>
          <activation-config-property-name>subscriptionDurability</activation-config-property-name>
          <activation-config-property-value>Durable</activation-config-property-value>
        </activation-config-property>
      </activation-config>
      
      <env-entry>
        <env-entry-name>ejb/BeanFactoryPath</env-entry-name>
        <env-entry-type>java.lang.String</env-entry-type>
        <env-entry-value>beanRefContext.xml</env-entry-value>
      </env-entry>
      
      <env-entry>
        <env-entry-name>ejb/mediator/defaultPersistOriginalMessage</env-entry-name>
        <env-entry-type>java.lang.Boolean</env-entry-type>
        <env-entry-value>true</env-entry-value>
      </env-entry>
      
      <resource-ref>
        <description></description>
        <res-ref-name>jms/cds/CDSClinicalJMSConnectionFactory</res-ref-name>
        <res-type>javax.jms.XAQueueConnectionFactory</res-type>
        <res-auth>Container</res-auth>
      </resource-ref>
      
    </message-driven>
    
    <message-driven>
      <ejb-name>VitalsMDB</ejb-name>
      <ejb-class>gov.va.med.cds.ejb.CDSClinicalMdb</ejb-class>
      <transaction-type>Container</transaction-type>
      
      <activation-config>
        <activation-config-property>
          <activation-config-property-name>destinationType</activation-config-property-name>
          <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
        </activation-config-property>
        
        <activation-config-property>
          <activation-config-property-name>subscriptionDurability</activation-config-property-name>
          <activation-config-property-value>Durable</activation-config-property-value>
        </activation-config-property>
      </activation-config>
      
      <env-entry>
        <env-entry-name>ejb/BeanFactoryPath</env-entry-name>
        <env-entry-type>java.lang.String</env-entry-type>
        <env-entry-value>beanRefContext.xml</env-entry-value>
      </env-entry>
      
      <env-entry>
        <env-entry-name>ejb/mediator/defaultPersistOriginalMessage</env-entry-name>
        <env-entry-type>java.lang.Boolean</env-entry-type>
        <env-entry-value>true</env-entry-value>
      </env-entry>
      
      <resource-ref>
        <description></description>
        <res-ref-name>jms/cds/CDSClinicalJMSConnectionFactory</res-ref-name>
        <res-type>javax.jms.XAQueueConnectionFactory</res-type>
        <res-auth>Container</res-auth>
      </resource-ref>
      
    </message-driven>
    
    <message-driven>
      <ejb-name>HomeTeleHealthMDB</ejb-name>
      <ejb-class>gov.va.med.cds.ejb.CDSClinicalMdb</ejb-class>
      <transaction-type>Container</transaction-type>
      
      <activation-config>
        <activation-config-property>
          <activation-config-property-name>destinationType</activation-config-property-name>
          <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
        </activation-config-property>
        
        <activation-config-property>
          <activation-config-property-name>subscriptionDurability</activation-config-property-name>
          <activation-config-property-value>Durable</activation-config-property-value>
        </activation-config-property>
      </activation-config>
      
      <env-entry>
        <env-entry-name>ejb/BeanFactoryPath</env-entry-name>
        <env-entry-type>java.lang.String</env-entry-type>
        <env-entry-value>beanRefContext.xml</env-entry-value>
      </env-entry>
      
      <env-entry>
        <env-entry-name>ejb/mediator/defaultPersistOriginalMessage</env-entry-name>
        <env-entry-type>java.lang.Boolean</env-entry-type>
        <env-entry-value>true</env-entry-value>
      </env-entry>
      
      <resource-ref>
        <description></description>
        <res-ref-name>jms/cds/CDSClinicalJMSConnectionFactory</res-ref-name>
        <res-type>javax.jms.XAQueueConnectionFactory</res-type>
        <res-auth>Container</res-auth>
      </resource-ref>
    </message-driven>
    
    <message-driven>
      <ejb-name>HomeTeleHealthSurveyMDB</ejb-name>
      <ejb-class>gov.va.med.cds.ejb.CDSClinicalMdb</ejb-class>
      <transaction-type>Container</transaction-type>
      
      <activation-config>
        <activation-config-property>
          <activation-config-property-name>destinationType</activation-config-property-name>
          <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
        </activation-config-property>
        
        <activation-config-property>
          <activation-config-property-name>subscriptionDurability</activation-config-property-name>
          <activation-config-property-value>Durable</activation-config-property-value>
        </activation-config-property>
      </activation-config>
      
      <env-entry>
        <env-entry-name>ejb/BeanFactoryPath</env-entry-name>
        <env-entry-type>java.lang.String</env-entry-type>
        <env-entry-value>beanRefContext.xml</env-entry-value>
      </env-entry>
      
      <env-entry>
        <env-entry-name>ejb/mediator/defaultPersistOriginalMessage</env-entry-name>
        <env-entry-type>java.lang.Boolean</env-entry-type>
        <env-entry-value>true</env-entry-value>
      </env-entry>
      
      <resource-ref>
        <description></description>
        <res-ref-name>jms/cds/CDSClinicalJMSConnectionFactory</res-ref-name>
        <res-type>javax.jms.XAQueueConnectionFactory</res-type>
        <res-auth>Container</res-auth>
      </resource-ref>
    </message-driven>
    
    <!-- message-driven>
      <ejb-name>ChdrMDB</ejb-name>
      <ejb-class>gov.va.med.cds.ejb.CDSClinicalMdb</ejb-class>
      <transaction-type>Container</transaction-type>
      
      <activation-config>
        <activation-config-property>
          <activation-config-property-name>destinationType</activation-config-property-name>
          <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
        </activation-config-property>
        <activation-config-property>
          <activation-config-property-name>subscriptionDurability</activation-config-property-name>
          <activation-config-property-value>Durable</activation-config-property-value>
        </activation-config-property>
      </activation-config>
      
      <env-entry>
        <env-entry-name>ejb/BeanFactoryPath</env-entry-name>
        <env-entry-type>java.lang.String</env-entry-type>
        <env-entry-value>beanRefContext.xml</env-entry-value>
      </env-entry>
      
      <env-entry>
        <env-entry-name>ejb/mediator/defaultPersistOriginalMessage</env-entry-name>
        <env-entry-type>java.lang.Boolean</env-entry-type>
        <env-entry-value>true</env-entry-value>
      </env-entry>
      
      <resource-ref>
        <description></description>
        <res-ref-name>jms/cds/CDSClinicalJMSConnectionFactory</res-ref-name>
        <res-type>javax.jms.XAQueueConnectionFactory</res-type>
        <res-auth>Container</res-auth>
      </resource-ref>
      
    </message-driven>
    
    <message-driven>
      <ejb-name>DefaultMDB</ejb-name>
      <ejb-class>gov.va.med.cds.ejb.CDSClinicalMdb</ejb-class>
      <transaction-type>Container</transaction-type>
      
      <activation-config>
        <activation-config-property>
          <activation-config-property-name>destinationType</activation-config-property-name>
          <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
        </activation-config-property>
        <activation-config-property>
          <activation-config-property-name>subscriptionDurability</activation-config-property-name>
          <activation-config-property-value>Durable</activation-config-property-value>
        </activation-config-property>
      </activation-config>
      
      <env-entry>
        <env-entry-name>ejb/BeanFactoryPath</env-entry-name>
        <env-entry-type>java.lang.String</env-entry-type>
        <env-entry-value>beanRefContext.xml</env-entry-value>
      </env-entry>
      
      <env-entry>
        <env-entry-name>ejb/mediator/defaultPersistOriginalMessage</env-entry-name>
        <env-entry-type>java.lang.Boolean</env-entry-type>
        <env-entry-value>true</env-entry-value>
      </env-entry>
      
      <resource-ref>
        <description></description>
        <res-ref-name>jms/cds/CDSClinicalJMSConnectionFactory</res-ref-name>
        <res-type>javax.jms.XAQueueConnectionFactory</res-type>
        <res-auth>Container</res-auth>
      </resource-ref>
      
    </message-driven -->
    
    <message-driven>
      <ejb-name>LabMDB</ejb-name>
      <ejb-class>gov.va.med.cds.ejb.CDSClinicalMdb</ejb-class>
      <transaction-type>Container</transaction-type>
      
      <activation-config>
        <activation-config-property>
          <activation-config-property-name>destinationType</activation-config-property-name>
          <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
        </activation-config-property>
        <activation-config-property>
          <activation-config-property-name>subscriptionDurability</activation-config-property-name>
          <activation-config-property-value>Durable</activation-config-property-value>
        </activation-config-property>
      </activation-config>
      
      <env-entry>
        <env-entry-name>ejb/BeanFactoryPath</env-entry-name>
        <env-entry-type>java.lang.String</env-entry-type>
        <env-entry-value>beanRefContext.xml</env-entry-value>
      </env-entry>
      <env-entry>
        <env-entry-name>ejb/mediator/defaultPersistOriginalMessage</env-entry-name>
        <env-entry-type>java.lang.Boolean</env-entry-type>
        <env-entry-value>true</env-entry-value>
      </env-entry>
      
      <resource-ref>
        <description></description>
        <res-ref-name>jms/cds/CDSClinicalJMSConnectionFactory</res-ref-name>
        <res-type>javax.jms.XAQueueConnectionFactory</res-type>
        <res-auth>Container</res-auth>
      </resource-ref>
      
    </message-driven>
  </enterprise-beans>
  
  <assembly-descriptor>
    <container-transaction>
      <method>
        <ejb-name>AllergyAssessmentMDB</ejb-name>
        <method-name>onMessage</method-name>
        <method-params>
          <method-param>javax.jms.Message</method-param>
        </method-params>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>
    
    <container-transaction>
      <method>
        <ejb-name>AllergiesMDB</ejb-name>
        <method-name>onMessage</method-name>
        <method-params>
          <method-param>javax.jms.Message</method-param>
        </method-params>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>
    
    <container-transaction>
      <method>
        <ejb-name>PharmacyPartialMDB</ejb-name>
        <method-name>onMessage</method-name>
        <method-params>
          <method-param>javax.jms.Message</method-param>
        </method-params>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>
    
    <container-transaction>
      <method>
        <ejb-name>PharmacyFullMDB</ejb-name>
        <method-name>onMessage</method-name>
        <method-params>
          <method-param>javax.jms.Message</method-param>
        </method-params>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>
    
    <container-transaction>
      <method>
        <ejb-name>PharmacyRefillMDB</ejb-name>
        <method-name>onMessage</method-name>
        <method-params>
          <method-param>javax.jms.Message</method-param>
        </method-params>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>
    
    <container-transaction>
      <method>
        <ejb-name>VitalsMDB</ejb-name>
        <method-name>onMessage</method-name>
        <method-params>
          <method-param>javax.jms.Message</method-param>
        </method-params>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>
    
    <container-transaction>
      <method>
        <ejb-name>HomeTeleHealthMDB</ejb-name>
        <method-name>onMessage</method-name>
        <method-params>
          <method-param>javax.jms.Message</method-param>
        </method-params>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>
    
    <container-transaction>
      <method>
        <ejb-name>HomeTeleHealthSurveyMDB</ejb-name>
        <method-name>onMessage</method-name>
        <method-params>
          <method-param>javax.jms.Message</method-param>
        </method-params>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>
    
    <!-- container-transaction>
      <method>
        <ejb-name>DefaultMDB</ejb-name>
        <method-name>onMessage</method-name>
        <method-params>
          <method-param>javax.jms.Message</method-param>
        </method-params>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>
    
    <container-transaction>
      <method>
        <ejb-name>ChdrMDB</ejb-name>
        <method-name>onMessage</method-name>
        <method-params>
          <method-param>javax.jms.Message</method-param>
        </method-params>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction -->
    
    <container-transaction>
      <method>
        <ejb-name>LabMDB</ejb-name>
        <method-name>onMessage</method-name>
        <method-params>
          <method-param>javax.jms.Message</method-param>
        </method-params>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>
  </assembly-descriptor>
</ejb-jar>
