6 Replies Latest reply on Aug 4, 2011 10:43 AM by Claus Ibsen

    Transactions + camel + activemq?

    jamie archibald Apprentice

      I am creating a new post as my previous post wasn't marked as a question. As mentioned earlier I have a case where I send messages to a JMS queue which the consumer receives the message and throws an exception, thus making the transaction fail. For some reason the client who sent the message to the queue never gets notified that the consumer failed. Instead the producer client receives a timeout exception after ~20 seconds.


      For example:









         .process(new Processor() {

            // client should receive exception immediately but instead we get a JMS timeout exception

            throw new RuntimeException("transaction failed");



      link to my previous post