SHARE
TWEET

Untitled

a guest Jul 19th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. _handle = _host.ConnectReceiveEndpoint(p =>
  2.         {
  3.             p.BindMessageExchanges = false;
  4.             p.Handler<T>(context =>
  5.             {
  6.                 _receivedMessage = context.Message;
  7.                 _messageReceived.Set();
  8.                 return Task.CompletedTask;
  9.             });
  10.             p.Bind<T>(z =>
  11.             {
  12.                 z.ExchangeType = "direct";
  13.                 z.RoutingKey = _routingKey;
  14.             });
  15.         });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top