[jboss-user] [JBossWS] - Re: Ejb3 JMSTransportSupport

jgilbert do-not-reply at jboss.com
Wed Nov 15 13:01:58 EST 2006


This could be handle generically without writing code. Just define the mdb in the deployment descriptor with an env-entry for the real service.
	<enterprise-beans>
  | 		<message-driven>
  | 			<ejb-name>AuthorizationCallbackMDB</ejb-name>
  | 			<ejb-class>
  | 			      org.jboss.webservice.transport.jms.JMSTransportSupport
  | 			</ejb-class>
  | 	                <messaging-type>javax.jms.MessageListener</messaging-type>
  | 			<transaction-type>Container</transaction-type>
  | 			<message-destination-type>javax.jms.Queue</message-destination-type>
  | 		</message-driven>
  |                 <env-entry>
  |                    <env-entry-name>serviceName</env-entry-name>
  |                    <env-entry-type>String</env-entry-type>
  |                    <env-entry-value>AuthorizationCallbackServiceMockBean</env-entry-value>
  |                 </env-entry>
  | 	</enterprise-beans>
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986251#3986251

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986251



More information about the jboss-user mailing list