alpakka icon indicating copy to clipboard operation
alpakka copied to clipboard

JMS: Provide a possibility to read the JMSMessageId after sending in JmsSinkStage

Open d2e8f9 opened this issue 7 years ago • 1 comments

The jms provider creates and sets the JMSMessageId to the jms message, which was sent. This JmsMessageId could be used as message selector for incoming replies. The communication scenario would be:

  1. Client sent message via JmsSinkStage

  2. Server receives message and send and reply back to the client, where the JMSMessageId of received message is used as JMSCorrelationId for the replied message.

  3. Client uses the JmsMessageId as selector on JMSCorrelationId to receive the reply.

Therefore the JmsSinkStage should provide a possibility to read and process JMSMessageIds which are created from the jms provider.

d2e8f9 avatar Aug 11 '17 21:08 d2e8f9

This is part of the experiment in https://github.com/akka/alpakka/pull/2143

ennru avatar Sep 22 '20 10:09 ennru