Skip to content

Instantly share code, notes, and snippets.

@mookid8000
Created April 6, 2011 12:00
Show Gist options
  • Save mookid8000/905531 to your computer and use it in GitHub Desktop.
Save mookid8000/905531 to your computer and use it in GitHub Desktop.
NServiceBus app.config example
<?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>
<MsmqTransportConfig InputQueue="someClient"
ErrorQueue="error"
NumberOfWorkerThreads="1"
MaxRetries="5" />
<UnicastBusConfig>
<MessageEndpointMappings>
<add Messages="UserRegistrationMessages" Endpoint="user_registration" />
</MessageEndpointMappings>
</UnicastBusConfig>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment