320 likes | 549 Views
Pub/Sub Messaging with NServiceBus. Bernard Kowalski, Microdesk Inc email: bkowalski@microdesk.com. PART I – Introduction and Basic Concepts of NServiceBus What is NServiceBus ? Transport – MSMQ Messaging models Endpoint configuration Generic host Define and send a message
E N D
Pub/Sub Messaging with NServiceBus Bernard Kowalski, Microdesk Inc email: bkowalski@microdesk.com
PART I – Introduction and Basic Concepts of NServiceBus What is NServiceBus? Transport – MSMQ Messaging models Endpoint configuration Generic host Define and send a message Handling a message Sagas Unit testing Other NServiceBus processes PART II - Code Examples Simple send message – configuration Pub/Sub Saga PART III - Discussion
What is NServiceBus ? www.nservicebus.com
Message transport - MSMQ Durable and Transactional
Messaging models: Store and Forward Request/Response Publish/Subscribe
Generic Host NServiceBus.Host.exe
Generic Host Three built in configuration options: AsA_Client AsA_Server AsAPublisher
Other NServiceBus Processes • Distributor • Gateway • Proxy • Timeout
Distributor http://www.nservicebus.com/
Gateway http://www.nservicebus.com/
Proxy Site A Site B No Proxy Remote Server Client Client Client Client Hash(MSG) http://www.nservicebus.com/
Proxy Site A Site B Remote Server Client Client Client Client Proxy Client http://www.nservicebus.com/
Timeout http://www.exaclair.com/
References: http:// www.nservicebus.com http://tech.groups.yahoo.com/group/nservicebus/