I am playing with custom config for NServiceBus and I am 开发者_Python百科implementing IConfigurationSource.
In the case of UnicastBusConfig, what is property UnicastBusConfig.MessageEndpointMappings[n].Endpoint supposed to be?
Thank you
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.
It is a name of your QUEUE.
<UnicastBusConfig>
<MessageEndpointMappings>
<add Messages="YOURASSEMBLYNAME" Endpoint="NAMEOFQUEUE@MACHINENAME"></add>
</MessageEndpointMappings>
</UnicastBusConfig>
精彩评论