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 |
---|---|---|
System.IO.Stream | message | The System.IO.Stream containing the message to be transformed. |
MessageHeaderCollection | headers | The headers collections (can be modified by the transformer). |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.IO.Stream> | A System.Threading.Tasks.Task<TResult> representing the asynchronous operation. The task result contains the System.IO.Stream with transformed message. |