Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The BarrierSpec is missing a discardChannel option #9558

Closed
artembilan opened this issue Oct 18, 2024 · 0 comments
Closed

The BarrierSpec is missing a discardChannel option #9558

artembilan opened this issue Oct 18, 2024 · 0 comments

Comments

@artembilan
Copy link
Member

Just expose a BarrierSpec.discardChannel() options according to the BarrierMessageHandler setters:

	/**
	 * Set the name of the channel to which late arriving trigger messages are sent.
	 * @param discardChannelName the discard channel.
	 * @since 5.0
	 */
	public void setDiscardChannelName(String discardChannelName) {
		this.discardChannelName = discardChannelName;
	}

	/**
	 * Set the channel to which late arriving trigger messages are sent.
	 * @param discardChannel the discard channel.
	 * @since 5.0
	 */
	public void setDiscardChannel(MessageChannel discardChannel) {
		this.discardChannel = discardChannel;
	}

Related SO thread: https://stackoverflow.com/questions/79101282/spring-integration-do-something-when-timeout-occure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants