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

Context-aware message dispatch on in-memory connector #2374

Merged
merged 3 commits into from
Nov 14, 2023

Conversation

ozangunalp
Copy link
Collaborator

In-memory connector config and flag for dispatching messages on Vert.x context.
The in-memory incoming channels can configure run-on-vertx-context attribute, or set InMemorySource#runOnVertxContext flag during a test for the channel to dispatch events (messages, failure and completion) on Vert.x context. The dispatched messages are wrapped in ContextAwareMessage to associate and propagate the message context.

  • Migrates the connector to InboundConnector and OutboundConnector
  • Contains fix for MultiUtils.via for dispatching failure and completion events.

cescoffier
cescoffier previously approved these changes Nov 13, 2023
@ozangunalp ozangunalp merged commit fea4ab7 into smallrye:main Nov 14, 2023
4 checks passed
@ozangunalp ozangunalp deleted the in-memory-context-aware branch November 14, 2023 09:08
@ozangunalp ozangunalp added this to the 4.12.0 milestone Nov 22, 2023
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.

None yet

2 participants