Interface IRawMessageTransformer
The base class for all services that transform the inbound or outbound raw binary.
Namespace: Silverback.Messaging
Assembly: Silverback.Integration.dll
Syntax
public interface IRawMessageTransformer
Methods
| Improve this doc View sourceTransformAsync(Stream?, MessageHeaderCollection)
Transforms the specified message.
Declaration
Task<Stream?> TransformAsync(Stream? message, MessageHeaderCollection headers)
Parameters
Type | Name | Description |
---|---|---|
Stream | message | The Stream containing the message to be transformed. |
MessageHeaderCollection | headers | The headers collections (can be modified by the transformer). |
Returns
Type | Description |
---|---|
Task<Stream> | A Task<TResult> representing the asynchronous operation. The task result contains the Stream with transformed message. |