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

Add option to AmqpInboundChannelAdapter ot override default amqp_batchedHeaders name to something else #9647

Closed
artembilan opened this issue Nov 12, 2024 · 0 comments

Comments

@artembilan
Copy link
Member

artembilan commented Nov 12, 2024

The new setter is:

	/**
	 * Set a header name containing {@code List<Map<String, Object>} headers when batch mode
	 * is {@link BatchMode#EXTRACT_PAYLOADS_WITH_HEADERS}.
	 * Defaults to {@link #CONSOLIDATED_HEADERS}.
	 * @param headerNameForBatchedHeaders the name of header
	 * containing {@code List<Map<String, Object>} headers when batch mode
	 * is {@link BatchMode#EXTRACT_PAYLOADS_WITH_HEADERS}.
	 * @since 6.4
	 */
	public void setHeaderNameForBatchedHeaders(String headerNameForBatchedHeaders) {
		Assert.hasText(headerNameForBatchedHeaders, "'headerNameForBatchedHeaders' must not be empty");
		this.headerNameForBatchedHeaders = headerNameForBatchedHeaders;
	}
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

1 participant