-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Empty duplicated context in OutgoingInterceptor with Quarkus 3.7.0.CR1 #38350
Comments
/cc @cescoffier too |
@ozangunalp already fixed the bug and cut a release. So the fix should be included in Quarkus soon. |
@cescoffier is the fix in the 3.7 branch? |
@cescoffier I don't see any SmallRye Reactive Messaging update after 3.7.0.CR1 which seems affected per the report. @ozangunalp could you chime in? |
The fix has been merged and released today in Reactive Messaging 4.16.0. |
Thanks for the report! |
Describe the bug
In quarkus 3.6.6, we can get informations from context in a OutgoingInterceptor using ContextLocals.get("key");
In quarkus 3.7.0.CR1, this context is empty
Expected behavior
ContextLocals::get return the context value in the OutgoingInterceptor implementation
Actual behavior
ContextLocals::get is empty in the OutgoingInterceptor implementation
How to Reproduce?
Use the reproducer here : https://github.com/lupogryph/quarkus-rep-1
And change quarkus.platform.version version in pom.xml.
With quarkus.platform.version 3.6.6, the test lupogryph.rep.quarkus.GreetingResourceTest#testHelloEndpoint pass
logs :
With quarkus.platform.version 3.7.0.CR1, this same test fails
logs :
Output of
uname -a
orver
MINGW64_NT-10.0-19045 GRYPHON 3.1.6-340.x86_64 2020-07-09 14:33 UTC x86_64 Msys
Output of
java -version
OpenJDK Runtime Environment Temurin-17.0.10+7 (build 17.0.10+7)
Quarkus version or git rev
3.7.0.CR1
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Additional information
No response
The text was updated successfully, but these errors were encountered: