Class ServiceActivatingHandler
- Namespace
- Steeltoe.Integration.Handler
- Assembly
- Steeltoe.Integration.IntegrationBase.dll
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
context
IApplicationContextprocessor
IMessageProcessor
ServiceActivatingHandler(IApplicationContext, object, MethodInfo)
public ServiceActivatingHandler(IApplicationContext context, object instance, MethodInfo method)
Parameters
context
IApplicationContextinstance
objectmethod
MethodInfo
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
requestMessage
IMessage
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.