public AdHocChannelFactoryAware OnCreated(Action<ChannelFactory> action) { onCreated += action; return this; }