I am testing a new route using sjms2 and artemis. When using the
onCompletion method messages are not delivered to my queue when transacted
is set to true. If set to false, artemis will receive the messages. Any
idea why this could be happening?



from("timer://foo?fixedRate=true&period=5000")
          .onCompletion()
            .onFailureOnly()
            .log("Something has failed.")
          .end()
          .setBody(simple("Message Body"))
          .to("sjms2:queue:myQueue?transacted=true");




Nick
Paul

Reply via email to