Api communication to another endpoint

37 views
Skip to first unread message

Fouad Roumieh

unread,
Sep 7, 2017, 5:18:37 AM9/7/17
to Particular Software
Helpful information to include
Product name:NserviceBus
Version:6.4.0
Stacktrace:
Description: I'm using a .net core api that is supposed to communicate to another endpoint. Does the api needs to use the same Transport as the endpoint or it can be different?

Hadi Eskandari

unread,
Sep 10, 2017, 10:18:56 PM9/10/17
to Particular Software
Hi Fouad,

You're right, the endpoints need to have a similar configuration. This means you'll need the same transport and serialization between the communicating endpoints. For example, they both need to be on MSMQ Transport and using JSON serialization.

We do have a couple of workarounds for scenarios that you don't have control on both ends. Depending on behavior of your endpoints you can use the Transport Bridge or Wormhole Gateway. Have a look at the comparison table on this page which tells you which features are supported in which scenarios.

Hope this helps,
Hadi

Simon Cropp

unread,
Sep 11, 2017, 12:48:52 AM9/11/17
to Particular Software
Some clarifications. 

and multiple endpoints can be hosted in the same process https://docs.particular.net/samples/hosting/multi-hosting/
Reply all
Reply to author
Forward
0 new messages