prooph/service-bus

Give possibility that messages can provide own factory methods

Closed this issue · 1 comments

  • Provide interface ServiceBusSerializable with method toServiceBusMessage
  • Provide interface ServiceBusUnserializable with static method fromServiceBusMessage

With v0.4.0 this is irrelevant. If a user want to use self serialization she can add a custom plugin to do so.