CAMEL-7344: Some endpoints configured using beans may result in NPE under DEBUG mode