Class ServiceActivatingHandler
- Namespace
- Steeltoe.Integration.Handler
- Assembly
- Steeltoe.Integration.IntegrationBase.dll
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public class ServiceActivatingHandler : AbstractReplyProducingMessageHandler, IMessageHandler, IServiceNameAware, IOrdered, IMessageProducer, IHeaderPropagation, ILifecycle
- Inheritance
-
ServiceActivatingHandler
- Implements
- Inherited Members
Constructors
ServiceActivatingHandler(IApplicationContext, IMessageProcessor)
public ServiceActivatingHandler(IApplicationContext context, IMessageProcessor processor)
Parameters
contextIApplicationContextprocessorIMessageProcessor
ServiceActivatingHandler(IApplicationContext, object, MethodInfo)
public ServiceActivatingHandler(IApplicationContext context, object instance, MethodInfo method)
Parameters
contextIApplicationContextinstanceobjectmethodMethodInfo
Properties
ComponentType
public override string ComponentType { get; }
Property Value
IsRunning
Gets a value indicating whether gets a value indicating if its running
public virtual bool IsRunning { get; }
Property Value
Methods
HandleRequestMessage(IMessage)
protected override object HandleRequestMessage(IMessage requestMessage)
Parameters
requestMessageIMessage
Returns
Initialize()
public override void Initialize()
Start()
Start this component
public virtual Task Start()
Returns
- Task
a task to signal completion
Stop()
Stop this component
public virtual Task Stop()
Returns
- Task
a task to signal completion
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.