JMS - Asynchronous Message Queue / Context Propagation #12912
Unanswered
baole229801
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear everyone,
We have this problem when implementing OTEL Java agent.
We have 2 flows of using JMS with Message Queue.
The first one is:
A single thread receives a request, then sends this request to the queue, then waits for the reply message in the reply queue.
This way the agent can propagate the context and track all the step in the transaction.
The second way is (Asynchronous):
One thread receives a request, then sends this request to the queue, at this point its job is done.
One thread from another pool is waiting at the reply queue, receives the reply message and responses.
This way I have two transactions (for 2 threads), so I cannot see a full workflow.
Any suggestion? Thank alot guys.
Beta Was this translation helpful? Give feedback.
All reactions