You are here: MassTransit » Documentation » Concepts »

Endpoints

Endpoints

MassTransit Endpoints (IEndpoint) are an abstraction layer on top of the actual transport. So in the case of MSMQ the endpoint represents an MSMQ Queue. Endpoints are constructed using the IEndpointFactory and are done so with a URI (like msmq://servername/private_queue_name).

For MSMQ queues, you can provide a hint in the query string for the transactional status of a queue. The default is that remote queues are transactional and local queues are non-transactional (but local queues can be queried). To signify a non-transactional remote queue it’s msmq://remote_host/mt_subscriptions?tx=false.

MassTransit also has the concept of ‘data channels’ and ‘control channels’ a control channel is an out of band way to communicate with your service. This should be used for infrastructure / control types of concerns and not actually passing of business data. Think of it as a way to query how its doing, tell it to slow down or to speed up.