CAMEL-7321: Fix inconsistent synchronization to prevent freezing of
JcrConsumer

Signed-off-by: Gregor Zurowski <gregor@zurowski.org>
CAMEL-7321: Fix inconsistent synchronization to prevent freezing of
JcrConsumer

Signed-off-by: Gregor Zurowski <gregor@zurowski.org>
Merge branch 'CAMEL-7321' of https://github.com/gzurowski/camel