You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With 0211 implemented we support being the mediator, and also being the mediatee. We support explicit pickup of messages on both the mediator and mediatee sides (using the pickup protocol). We also support implicit pickup of message for the mediatee side, but not yet for the mediator side.
This means that if AFJ is acting as a mediator, and want messages to be implicitly picked up this is not possible yet.
This should be a fairly straightforward change. We have a message queue (currently in memory) that holds messages that need to be delivered to connections. Messages get queued when we receive forward messages for connections that have no endpoint (didcomm:transport/queue).
If a transport socket is opened (HTTP or WS) and a message is sent by the other party, do the following:
If the message has return routing enabled, store the session (already done)
Process the message (already done)
If the processing of the message produced a response message, send it over the open socket
If the socket is still open (with HTTP if a response message is sent we can't send additional message), and there are messages waiting in the queue for that connection start sending messages from the queue over the socket.
If all messages are queued and the socket hasn't been closed, wait for the next message on the queue to arrive. This way messages will be sent over the socket as they arrive.
See #40 for more context on implicit / explicit pickup of messages
The text was updated successfully, but these errors were encountered:
With 0211 implemented we support being the mediator, and also being the mediatee. We support explicit pickup of messages on both the mediator and mediatee sides (using the pickup protocol). We also support implicit pickup of message for the mediatee side, but not yet for the mediator side.
This means that if AFJ is acting as a mediator, and want messages to be implicitly picked up this is not possible yet.
This should be a fairly straightforward change. We have a message queue (currently in memory) that holds messages that need to be delivered to connections. Messages get queued when we receive forward messages for connections that have no endpoint (
didcomm:transport/queue
).If a transport socket is opened (HTTP or WS) and a message is sent by the other party, do the following:
See #40 for more context on implicit / explicit pickup of messages
The text was updated successfully, but these errors were encountered: