Added namespace support for <jms:outbound-gateway/> and updated the GatewayDemo sample (INT-429).

This commit is contained in:
Mark Fisher
2008-10-17 21:54:09 +00:00
parent d8aefc0c46
commit d36f80937d
5 changed files with 87 additions and 21 deletions

View File

@@ -19,19 +19,7 @@
<channel id="stdinToJmsoutChannel"/>
<beans:bean class="org.springframework.integration.endpoint.SubscribingConsumerEndpoint">
<beans:constructor-arg ref="jmsOutGateway"/>
<beans:constructor-arg ref="stdinToJmsoutChannel"/>
</beans:bean>
<beans:bean id="jmsOutGateway" class="org.springframework.integration.jms.JmsOutboundGateway">
<beans:property name="jmsTemplate">
<beans:bean class="org.springframework.jms.core.JmsTemplate">
<beans:property name="connectionFactory" ref="connectionFactory"/>
</beans:bean>
</beans:property>
<beans:property name="jmsQueue" ref="demoQueue"/>
<beans:property name="outputChannel" ref="jmsReplyToStdoutChannel"/>
</beans:bean>
<jms:outbound-gateway request-channel="stdinToJmsoutChannel" jms-queue="demoQueue" reply-channel="jmsReplyToStdoutChannel"/>
<channel id="jmsReplyToStdoutChannel"/>