CAMEL-6151: Added support for blocking direct producers. Thanks to Aaron Whiteside for partial patch.