GH-285: Fix AMQP Sample

Resolves https://github.com/spring-projects/spring-integration-samples/issues/285

- deprecated `publisher-confirms` attribute has been removed in 5.4
This commit is contained in:
Gary Russell
2020-07-17 10:00:58 -04:00
parent 21e44479ee
commit b872a1371e

View File

@@ -60,7 +60,8 @@
<!-- Infrastructure -->
<rabbit:connection-factory id="connectionFactory" host="localhost" publisher-confirms="true" publisher-returns="true" />
<rabbit:connection-factory id="connectionFactory" host="localhost" confirm-type="CORRELATED"
publisher-returns="true" />
<rabbit:template id="amqpTemplate" connection-factory="connectionFactory" mandatory="true" /> <!-- for nacks -->