Skip to content

Commit

Permalink
GH-152: Inject nullChannel for confirm acks
Browse files Browse the repository at this point in the history
Fixes #152

Reduce log noise since we only express interest in nacks.
  • Loading branch information
garyrussell authored and artembilan committed May 23, 2018
1 parent 8622788 commit 03872e5
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -285,6 +285,8 @@ protected MessageHandler createProducerMessageHandler(final ProducerDestination
checkConnectionFactoryIsErrorCapable();
endpoint.setReturnChannel(errorChannel);
endpoint.setConfirmNackChannel(errorChannel);
endpoint.setConfirmAckChannel(getApplicationContext().getBean(
IntegrationContextUtils.NULL_CHANNEL_BEAN_NAME, MessageChannel.class));
endpoint.setConfirmCorrelationExpressionString("#root");
endpoint.setErrorMessageStrategy(new DefaultErrorMessageStrategy());
}
Expand Down

0 comments on commit 03872e5

Please sign in to comment.