Table of Contents

Interface IInvocableHandlerMethod

Namespace
Steeltoe.Messaging.Handler.Invocation
Assembly
Steeltoe.Messaging.Abstractions.dll

Invokes the underlying method with argument values resolved from the current message.

public interface IInvocableHandlerMethod

Properties

Handler

object Handler { get; }

Property Value

object

IsVoid

Gets a value indicating whether the return type of the method is void

bool IsVoid { get; }

Property Value

bool

Method

MethodInfo Method { get; }

Property Value

MethodInfo

ShortLogMessage

Gets a value for message logging (TODO: Look to remove)

string ShortLogMessage { get; }

Property Value

string

Methods

Invoke(IMessage, params object[])

Invoke the underlying method after resolving its argument values in the context of the given message.

object Invoke(IMessage requestMessage, params object[] args)

Parameters

requestMessage IMessage

the message being processed

args object[]

given arguments matched by type, not resolved

Returns

object

the raw value returned from the invoked method