Class AbstractMessageProducingHandler
- Namespace
- Steeltoe.Integration.Handler
- Assembly
- Steeltoe.Integration.IntegrationBase.dll
public abstract class AbstractMessageProducingHandler : AbstractMessageHandler, IMessageHandler, IServiceNameAware, IOrdered, IMessageProducer, IHeaderPropagation
- Inheritance
-
AbstractMessageProducingHandler
- Implements
- Derived
- Inherited Members
Constructors
AbstractMessageProducingHandler(IApplicationContext)
protected AbstractMessageProducingHandler(IApplicationContext context)
Parameters
context
IApplicationContext
Properties
NotPropagatedHeaders
Gets or sets the headers that should not be copied from inbound message if handler is configured to copy headers
public virtual IList<string> NotPropagatedHeaders { get; set; }
Property Value
OutputChannel
Gets or sets the output channel the producer uses
public virtual IMessageChannel OutputChannel { get; set; }
Property Value
OutputChannelName
Gets or sets the output channel name the producer uses
public virtual string OutputChannelName { get; set; }
Property Value
SendTimeout
public virtual int SendTimeout { get; set; }
Property Value
ShouldCopyRequestHeaders
protected virtual bool ShouldCopyRequestHeaders { get; }
Property Value
Methods
AddNotPropagatedHeaders(params string[])
Add headers that will not be copied from the inbound message if handler is configured to copy headers
public virtual void AddNotPropagatedHeaders(params string[] headers)
Parameters
headers
string[]the headers to not copy
CreateOutputMessage(object, IMessageHeaders)
protected virtual IMessage CreateOutputMessage(object output, IMessageHeaders requestHeaders)
Parameters
output
objectrequestHeaders
IMessageHeaders
Returns
ProduceOutput(object, IMessage)
protected virtual void ProduceOutput(object reply, IMessage requestMessage)
Parameters
SendOutput(object, object, bool)
protected virtual void SendOutput(object output, object replyChannelArg, bool useArgChannel)
Parameters
SendOutputs(object, IMessage)
protected void SendOutputs(object reply, IMessage requestMessage)
Parameters
ShouldSplitOutput(IEnumerable)
protected virtual bool ShouldSplitOutput(IEnumerable reply)
Parameters
reply
IEnumerable
Returns
UpdateNotPropagatedHeaders(IList<string>, bool)
protected virtual void UpdateNotPropagatedHeaders(IList<string> headers, bool merge)