InProcessBus infrastructure for chapter 4