Follow up on
CAMEL-11692, my fix in HBaseComponent isn't quite right because a call to HBaseConfiguration.create() automatically sets the ClassLoader on the HBaseConfiguration object. Hence the conditional logic that follows is always false.
I think it'd be better to move this logic into the preceding if block where the HBaseConfiguration is created. If folks provide their own configuration, then it's up to them to make sure they have set the ClassLoader correctly.