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
The goal of this issue is to be able to handle non-JustSaying event payloads.
Possible implementations
Add a implementation of IMessageSerializer that supports cloud events and deserializes into a JustSaying.Models.Message. Downsides include consumers consuming a JustSaying Message even though the input is a cloud event.
Revisit removing Message base type and removing the link between Subject and Type to determine which serializer to use.
Add new API to specify a subject and serializer tuple. When a message arrives, find the serializer by subject, and use that to produce a MessageWithAttributes. Serializers would be created per registration.
Bigger change than 1, not as big as 2
The text was updated successfully, but these errors were encountered:
The goal of this issue is to be able to handle non-JustSaying event payloads.
Possible implementations
Add a implementation of
IMessageSerializer
that supports cloud events and deserializes into a JustSaying.Models.Message. Downsides include consumers consuming a JustSaying Message even though the input is a cloud event.Revisit removing Message base type and removing the link between Subject and Type to determine which serializer to use.
Add new API to specify a subject and serializer tuple. When a message arrives, find the serializer by subject, and use that to produce a MessageWithAttributes. Serializers would be created per registration.
The text was updated successfully, but these errors were encountered: