Book Image

Learning NServiceBus - Second Edition

By : David Boike
Book Image

Learning NServiceBus - Second Edition

By: David Boike

Overview of this book

Table of Contents (18 chapters)
Learning NServiceBus Second Edition
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, you learned how to configure NServiceBus to its fullest potential. First, we explored the interfaces that we can implement in order to make our own customizations and learned how we can use dependency injection to inject our own dependencies into the framework.

You learned a few easy ways to extend the NServiceBus pipeline via the unit of work pattern and message mutators, which can be useful if the goal we have in mind aligns well with the API. Failing that, you learned how to take control of the entire incoming and outgoing message pipelines in order to insert your own behaviors or replace existing ones.

Lastly, you learned about Outbox, which gives you equivalent protection to the DTC when it isn't available to you or if you purposefully decide to throw it out.

Like Neo in the Matrix, you can now exercise complete control over your environment when you're jacked into your NServiceBus code and bend the framework to your wishes. In the next chapter, you will discover...