INT-3926: Add <poller> for all outbound tags
JIRA: https://jira.spring.io/browse/INT-3926 * Add `<poller>` for all `<outbound-adapter(gateway)>` * Add/modify tests for `<queue>` as an input channel and particular `<poller>` * Move XSD from the `xml` package to the `config` level to achieve the consistency throughout the project.
This commit is contained in:
committed by
Gary Russell
parent
afc286a66a
commit
74cbc58698
@@ -370,6 +370,7 @@
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:sequence>
|
||||
<xsd:element ref="integration:poller" minOccurs="0" maxOccurs="1"/>
|
||||
<xsd:element name="request-handler-advice-chain" type="integration:handlerAdviceChainType" minOccurs="0" maxOccurs="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="exchange-name" type="xsd:string">
|
||||
|
||||
@@ -17,7 +17,9 @@
|
||||
amqp-template="amqpTemplate"
|
||||
auto-startup="false"
|
||||
order="5"
|
||||
return-channel="returnChannel"/>
|
||||
return-channel="returnChannel">
|
||||
<int:poller fixed-delay="100"/>
|
||||
</amqp:outbound-gateway>
|
||||
|
||||
<rabbit:template id="amqpTemplate" connection-factory="connectionFactory"/>
|
||||
|
||||
@@ -25,7 +27,9 @@
|
||||
<constructor-arg value="org.springframework.amqp.rabbit.connection.ConnectionFactory"/>
|
||||
</bean>
|
||||
|
||||
<int:channel id="toRabbit0"/>
|
||||
<int:channel id="toRabbit0">
|
||||
<int:queue/>
|
||||
</int:channel>
|
||||
<int:channel id="toRabbit1"/>
|
||||
<int:channel id="toRabbit2"/>
|
||||
<int:channel id="toRabbit3"/>
|
||||
|
||||
@@ -55,9 +55,13 @@
|
||||
mapped-request-headers="foo*"
|
||||
amqp-template="amqpTemplateConfirmsAdapter"
|
||||
confirm-correlation-expression="headers['amqp_confirmCorrelationData']"
|
||||
confirm-ack-channel="ackChannel" />
|
||||
confirm-ack-channel="ackChannel" >
|
||||
<int:poller fixed-delay="100"/>
|
||||
</amqp:outbound-channel-adapter>
|
||||
|
||||
<int:channel id="pcRequestChannelForAdapter"/>
|
||||
<int:channel id="pcRequestChannelForAdapter">
|
||||
<int:queue/>
|
||||
</int:channel>
|
||||
|
||||
<rabbit:template id="amqpTemplateReturns" connection-factory="connectionFactory" mandatory="true" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user