【发布时间】:2016-04-11 07:15:21
【问题描述】:
以下是我的配置。如果成功发布到队列,则流程不会传递到确认确认通道。谁能指出哪里出错了?
<int-amqp:outbound-channel-adapter channel="fulfillmentOutboundChannel"
routing-key="xyz"
amqp-template="transactionalRabbitTemplate"
confirm-correlation-expression="payload"
confirm-ack-channel="successRespTransformChannel"
confirm-nack-channel="failureRespTransformChannel"
return-channel="failureRespTransformChannel"
mapped-request-headers="*"
/>
<int:channel id="successRespTransformChannel">
<int:interceptors><int:wire-tap channel="loggerChannel"/></int:interceptors>
</int:channel>
<chain input-channel="successRespTransformChannel">
<int:header-enricher>
<error-channel ref="failed-publishing" />
</int:header-enricher>
<service-activator id="successResp" expression="@abc.addRequestTracking(payload.id,'success')"/>
</chain>
【问题讨论】:
标签: spring-integration spring-amqp