2

I am playing with custom config for NServiceBus and I am implementing IConfigurationSource.

In the case of UnicastBusConfig, what is property UnicastBusConfig.MessageEndpointMappings[n].Endpoint supposed to be?

Thank you

user691856
  • 167
  • 1
  • 1
  • 11

2 Answers2

6

The Endpoint property is the address of the target endpoint, usually in the format "queue@machine" or "queue" when it is on a local machine.

Domas
  • 496
  • 1
  • 6
  • 16
Udi Dahan
  • 11,932
  • 1
  • 27
  • 35
0

It is a name of your QUEUE.

<UnicastBusConfig>
   <MessageEndpointMappings>
     <add Messages="YOURASSEMBLYNAME" Endpoint="NAMEOFQUEUE@MACHINENAME"></add>
   </MessageEndpointMappings>
</UnicastBusConfig>
IamDD
  • 1
  • 1