Table of Contents

Class MethodInvokingMessageProcessor<T>

Namespace
Steeltoe.Integration.Handler
Assembly
Steeltoe.Integration.IntegrationBase.dll
public class MethodInvokingMessageProcessor<T> : AbstractMessageProcessor<T>, IMessageProcessor<T>, IMessageProcessor, ILifecycle

Type Parameters

T
Inheritance
MethodInvokingMessageProcessor<T>
Implements
Inherited Members

Constructors

MethodInvokingMessageProcessor(IApplicationContext, object, MethodInfo)

public MethodInvokingMessageProcessor(IApplicationContext context, object targetObject, MethodInfo method)

Parameters

context IApplicationContext
targetObject object
method MethodInfo

MethodInvokingMessageProcessor(IApplicationContext, object, Type)

public MethodInvokingMessageProcessor(IApplicationContext context, object targetObject, Type attribute)

Parameters

context IApplicationContext
targetObject object
attribute Type

Properties

ConversionService

public virtual IConversionService ConversionService { get; set; }

Property Value

IConversionService

IsRunning

Gets a value indicating whether gets a value indicating if its running

public bool IsRunning { get; }

Property Value

bool

Methods

ProcessMessage(IMessage)

Process a message and return a value or null

public override T ProcessMessage(IMessage message)

Parameters

message IMessage

message to process

Returns

T

result after processing

Start()

Start this component

public Task Start()

Returns

Task

a task to signal completion

Stop()

Stop this component

public Task Stop()

Returns

Task

a task to signal completion