Skip to content

GH-2388: Fix HeaderEnricherSpec for adviceChain #2391

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

Merged
merged 1 commit into from
Mar 13, 2018

Conversation

artembilan
Copy link
Member

Fixes #2388

During HeaderEnricherSpec refactoring the adviceChain population
has been missed, alongside with many other AbstractReplyProducingMessageHandler
options from the ConsumerEndpointSpec

  • Refactor HeaderEnricherSpec to build HeaderEnricher and an
    appropriate MessageTransformingHandler from the ctor to be able
    to pick up an adviceChain automatically in the ConsumerEndpointSpec.get()

Cherry-pick to 5.0.x

Fixes spring-projects#2388

During `HeaderEnricherSpec` refactoring the `adviceChain` population
has been missed, alongside with many other `AbstractReplyProducingMessageHandler`
options from the `ConsumerEndpointSpec`

* Refactor `HeaderEnricherSpec` to build `HeaderEnricher` and an
appropriate `MessageTransformingHandler` from the ctor to be able
to pick up an `adviceChain` automatically in the `ConsumerEndpointSpec.get()`

**Cherry-pick to 5.0.x**
@garyrussell garyrussell merged commit a4eb4ec into spring-projects:master Mar 13, 2018
@garyrussell
Copy link
Contributor

And cherry-picked as 194480d

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.

enrichHeaders with advice
2 participants