Skip to content

Pact RabbitMQ IMessageBusSender SendRPCAsync T (object string string)

welshronaldo edited this page May 30, 2022 · 5 revisions

IMessageBusSender.SendRPCAsync<T>(object, string, string) Method

Sends a message and waits for a response

System.Threading.Tasks.Task<T> SendRPCAsync<T>(object item, string exchange, string key)
    where T : class;

Type parameters

T
Expected return type

Parameters

item System.Object
object to be sent

exchange System.String
the bucket to send it too

key System.String
the message routing key

Returns

System.Threading.Tasks.Task<T>
instance of T

Clone this wiki locally