Skip to content

Conversation

@garyrussell
Copy link
Contributor

Resolves #2344

The ReplyingKafkaTemplate supports the use of a custom header name
for correlation, but the subclass AggregatingReplyingKafkaTemplate
was hard coded to use the default header.

Support the use of a custom header name in the subclass.

cherry-pick to 2.9.x, 2.8.x

Resolves spring-projects#2344

The `ReplyingKafkaTemplate` supports the use of a custom header name
for correlation, but the subclass `AggregatingReplyingKafkaTemplate`
was hard coded to use the default header.

Support the use of a custom header name in the subclass.

**cherry-pick to 2.9.x, 2.8.x**
@artembilan artembilan merged commit 58b6889 into spring-projects:main Jul 12, 2022
@artembilan
Copy link
Member

... and cherry-picked to 2.9.x & 2.8.x

@garyrussell garyrussell deleted the GH-2344 branch July 13, 2022 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to modify Correlation ID header name in AggregatingReplyingKafkaTemplate

2 participants