Skip to content

REST client message metadata that can be intercepted in ClientRequestFilter within&outside vertX bootstrap #46770

Answered by cescoffier
lmartella1 asked this question in Q&A
Discussion options

You must be logged in to vote

WebSocket Next is doing it too:

static Context createNewDuplicatedContext(Context context, WebSocketConnectionBase connection) {

Basically, you create a duplicated context and then do context.executeBlocking(....)
If you need to stay on the same thread, you would need something like:

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
12 replies
@lmartella1
Comment options

@geoand
Comment options

geoand Mar 13, 2025
Collaborator

@lmartella1
Comment options

@cescoffier
Comment options

Answer selected by lmartella1
@cescoffier
Comment options

@lmartella1
Comment options

@geoand
Comment options

geoand Apr 4, 2025
Collaborator

@cescoffier
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment