10. Gateway Site 2 Site 1 Server Client HTTP Gateway Gateway
11. Messaging/Integration Framework Selection Criteria Features Publish/Subscribe Work Distribution Long Running Business Workflows Lives on existing infrastructure Low Learning Curve Actively supported Cost Effective
14. Required Software MSMQ MSDTC NSB Bits .NET Framework 3.5 SP1 RDBMS Subscription Storage Very small, SQL Server will do
15. Monitoring PerfMon Counters NSB “Critical Time” – how long has the oldest message been sitting in the queue Logs SCOM MSMQ Error Queue
16. Logging Configurable & managed by the developer Includes standard mechanisms Files Event Log Database Custom…
17. Installation NServiceBus.Host.exe [/install (installs as a Windows Service) [/serviceName] (name in the registry) [/displayName] (display name in Mgr) [/description] (description in Mgr) [/instance] (another named instance) [/startManually] (don’t start the service) [/username] (account it runs as) [/password] (password of above user) [ProfileName] (name of the profile to use)
20. Application Level MSMQ Configuration <MsmqTransportConfig InputQueue="client“ Queue messages are being received on ErrorQueue="error“ Queue error messages are sent to NumberOfWorkerThreads="1“ Number of threads used to process messages MaxRetries="5“ Max number of times to try and process a message />
22. Tools ReturnToSourceQueue.exe Replays messages to the queue they came from Runner.exe Validates and fixes MSMQ installations Starts MSDTC if necessary Installs NSB performance counters
23. Running in a Cluster You need to add the .NET Framework feature or application server role to the member servers You need to add both a MSDTC and a MSMQ resource to the cluster (MSMQ will require that you have MSDTC) After adding the Generic Application for NServiceBus.Host.exe, you will need to go in and modify the properties of the generic application to check the "Use Network Name for computer name" box so that NServiceBus points to the cluster name for using MSMQ not to the member server that is currently running it.