I've tried with 3.11.0 and it's still not working. I've also updated/uploaded my testing route to github if you want to take a look. https://github.com/NickPaul41/camel-sjms2-issue-example
Nick Paul On Sun, Jun 27, 2021 at 3:31 AM Claus Ibsen <claus.ib...@gmail.com> wrote: > Hi > > The route snippet you pasted is that what you tested with? > And can you try 3.11.0 when its released soon. > > On Sat, Jun 26, 2021 at 12:27 AM Nick Paul <nicholas.w.p...@gmail.com> > wrote: > > > > 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 > > > > -- > Claus Ibsen > ----------------- > http://davsclaus.com @davsclaus > Camel in Action 2: https://www.manning.com/ibsen2 >