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:
@@ -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 -->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user