-
Notifications
You must be signed in to change notification settings - Fork 1.1k
@Header("'foo.bar'") looks for a header ''foo' with property bar' #3083
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
Milestone
Comments
garyrussell
added a commit
to garyrussell/spring-integration
that referenced
this issue
Oct 16, 2019
Fixes spring-projects#3083 `@Header("foo.bar"` means extract property `bar` from header `foo`)` Support `@Header("'foo.bar'")`, meaning get the value of header `foo.bar`. **cherry-pick to 5.1.x, 4.3.x**
garyrussell
added a commit
to garyrussell/spring-integration
that referenced
this issue
Oct 16, 2019
Fixes spring-projects#3083 `@Header("foo.bar")` means extract property `bar` from header `foo`. Support `@Header("'foo.bar'")`, meaning get the value of header `foo.bar`. **cherry-pick to 5.1.x, 4.3.x**
artembilan
pushed a commit
that referenced
this issue
Oct 16, 2019
artembilan
pushed a commit
that referenced
this issue
Oct 16, 2019
Fixes #3083 `@Header("foo.bar")` means extract property `bar` from header `foo`. Support `@Header("'foo.bar'")`, meaning get the value of header `foo.bar`. **cherry-pick to 5.1.x, 4.3.x** # Conflicts: # spring-integration-core/src/test/java/org/springframework/integration/handler/MethodInvokingMessageProcessorTests.java
artembilan
pushed a commit
that referenced
this issue
Oct 16, 2019
Fixes #3083 `@Header("foo.bar")` means extract property `bar` from header `foo`. Support `@Header("'foo.bar'")`, meaning get the value of header `foo.bar`. **cherry-pick to 5.1.x, 4.3.x** # Conflicts: # spring-integration-core/src/test/java/org/springframework/integration/handler/MethodInvokingMessageProcessorTests.java # Conflicts: # spring-integration-core/src/main/java/org/springframework/integration/handler/support/MessagingMethodInvokerHelper.java # spring-integration-core/src/test/java/org/springframework/integration/handler/MethodInvokingMessageProcessorTests.java
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://stackoverflow.com/questions/58403246/header-annotation-with-in-header-name-such-as-headerfoo-bar-doesnt-m/58414528#58414528
When
@Header("'foo.bar'")
is used, we end up with:#target.handleMessage(payload, #requiredHeader(headers, ''foo').bar')
The text was updated successfully, but these errors were encountered: