<?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>
	<display-name>OfInterestQueryMessageBeanJAR</display-name>
	<enterprise-beans>
		<message-driven>
			<display-name>OfInterestQueryMessageBean</display-name>
			<ejb-name>OfInterestQueryMessageBean</ejb-name>
			<ejb-class>
				au.gov.wa.police.webservice.ofinterestquery.OfInterestQueryMessageBean
			</ejb-class>
			<transaction-type>Container</transaction-type>
			<message-driven-destination>
				<destination-type>javax.jms.Queue</destination-type>
			</message-driven-destination>
			<resource-ref>
				<res-ref-name>jms/QCFactory</res-ref-name>
				<res-type>javax.jms.QueueConnectionFactory</res-type>
				<res-auth>Container</res-auth>
				<res-sharing-scope>Shareable</res-sharing-scope>
			</resource-ref>
			<resource-env-ref>
				<resource-env-ref-name>
					jms/clientQueue
				</resource-env-ref-name>
				<resource-env-ref-type>
					javax.jms.Queue
				</resource-env-ref-type>
			</resource-env-ref>
		</message-driven>
	</enterprise-beans>
	<assembly-descriptor>
		<container-transaction>
			<method>
				<ejb-name>OfInterestQueryMessageBean</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>


