All pastes #1896247 Raw Edit

nSB app.config

public text v1 · immutable
#1896247 ·published 2010-07-07 20:43 UTC
rendered paste body
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section name="MsmqTransportConfig" type="NServiceBus.Config.MsmqTransportConfig, NServiceBus.Core" />
    <section name="UnicastBusConfig" type="NServiceBus.Config.UnicastBusConfig, NServiceBus.Core" />
  </configSections>

  <!-- in order to configure remote endpoints use the format: "queue@machine" 
       input queue must be on the same machine as the process feeding off of it.
       error queue can (and often should) be on a different machine.
  -->

  <MsmqTransportConfig
    InputQueue="erviceInputQueue"
    ErrorQueue="error"
    NumberOfWorkerThreads="1"
    MaxRetries="5" />

  <UnicastBusConfig>
    <MessageEndpointMappings>
		<add Messages="MyProject.Common.Messages" Endpoint="ServiceInputQueue" />
	</MessageEndpointMappings>
  </UnicastBusConfig>
</configuration>