synchronize methods driven by jms threads