PacktLib: Learning NServiceBus

Learning NServiceBus

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Getting on the IBus

Why NServiceBus?

Getting the code

Creating a message assembly

Creating a service endpoint

Creating a message handler

Sending a message from an MVC application

Running the solution

Summary

Messaging Patterns

Commands versus events

Events

Message routing

Summary

Preparing for Failure

Fault tolerance and transactional processing

Error queues and replay

Express messaging

Messages that expire

Auditing messages

Web service integration and idempotence

Summary

Self-Hosting

Web app and custom hosting

Summary

Advanced Messaging

Modifying the NServiceBus host

Additional bus settings

The unobtrusive mode

Message versioning

Specifying the handler order

Message actions

Unit of work

Message mutators

Property encryption

Transporting large payloads

Exposing web services

Summary

Sagas

Long-running processes

Defining a saga

Finding saga data

Ending a saga

Dealing with time

Design guidelines

Unit testing

Scheduling

Summary

Administration

Service installation

Profiles

Managing configurations

Monitoring

Scalability

Multiple sites

Managing RavenDB

Virtualization

Summary

Where to Go from Here?

What we've learned

What next?

Index