changed transaction isolation
REPEATABLE_READ worked in postgres but not in hsql. READ_COMMITTED does work in hsql. I can't see a reason to use a pessimistic write lock though.
@@ -47,7 +47,7 @@ public class CreateNeedMessageReactionProcessor extends AbstractCamelProcessor
@Override
- @Transactional(propagation = Propagation.REQUIRED, isolation = Isolation.REPEATABLE_READ)
+ @Transactional(propagation = Propagation.REQUIRED, isolation = Isolation.READ_COMMITTED)
public void process(final Exchange exchange) throws Exception {
Message message = exchange.getIn();
WonMessage wonMessage = (WonMessage) message.getHeader(WonCamelConstants.MESSAGE_HEADER);
