My case is that some of messages are less importance and can be missed in Client side. Some of messages are importance and it have to be handled by Client.
So I want to use one CAP instance to delivery less importance messages. This instance use memory as storage and these messages have short duration of lifetime and no need to retry to send when the sending is fail.
And another CAP instance to delivery more importance message. This instance use database as storage and these messages have long duration of lifetime and need the commitment from Client side.
I saw the documentation guides to use the CAP throught the IOC, and only one CAP instance is constructed. Looks like it only support one CAP instance per application.
My case is that some of messages are less importance and can be missed in Client side. Some of messages are importance and it have to be handled by Client.
So I want to use one CAP instance to delivery less importance messages. This instance use memory as storage and these messages have short duration of lifetime and no need to retry to send when the sending is fail.
And another CAP instance to delivery more importance message. This instance use database as storage and these messages have long duration of lifetime and need the commitment from Client side.
I saw the documentation guides to use the CAP throught the IOC, and only one CAP instance is constructed. Looks like it only support one CAP instance per application.