Small change to avoid NPE when Camel or ElasticSearch are disabled