all incoming messages going through the messenger package first (at least this is needed for counting received_orders)
provide functions needed for sending a message (functions will be used by any service)
possibility to customize the behavior of how messenger will handle the incoming message by the service (service provides options for the messenger by exposing some function e.g MessangerOpts)
thread decorator should be handled by the messenger
Requirements:
MessangerOpts
)Thread decorator requirements:
sender_order
to the thread https://github.com/hyperledger/aries-rfcs/tree/master/concepts/0008-message-id-and-threading#sender-order-sender_orderreceived_orders
to the thread https://github.com/hyperledger/aries-rfcs/tree/master/concepts/0008-message-id-and-threading#received-orders-received_orders