Open rolsonquadras opened 4 years ago
This feature can be divided into following components:
Can you elaborate on what is required for "Integrate with framework"
Internally we initialized using
framework, err := aries.New(
aries.WithTransportReturnRoute("all"),
aries.WithOutboundTransports(ws.NewOutbound()),
aries.WithStoreProvider(mem.NewProvider()),
aries.WithProtocols(messagepickupSvc.ServiceCreator(), basicmessageSvc.ServiceCreator()),
)
if err != nil {
nil, err
}
@m00sey the question on my mind is: how will the messagepickup
protocol be integrated with the mediator
one? This corresponds with Rolson's Store the messages when registered agent is unavailable
point above
We had our own router implementation but didn't get it submitted before you published mediator
, I am going to be working on that integration.
Can you elaborate on what is required for "Integrate with framework"
Internally we initialized using
framework, err := aries.New( aries.WithTransportReturnRoute("all"), aries.WithOutboundTransports(ws.NewOutbound()), aries.WithStoreProvider(mem.NewProvider()), aries.WithProtocols(messagepickupSvc.ServiceCreator(), basicmessageSvc.ServiceCreator()), ) if err != nil { nil, err }
It was been added to the default framework in https://github.com/hyperledger/aries-framework-go/pull/2001/files#diff-da8e5280b0328cb616f0b42390a35b00R72.
DIDComm mediator should store messages destined to edge agents when they can't connect to the router (mailbox).
part of #807