I am using JMS Transaction in camel
I have two routes
from("jms:queue:test).process(new Processor(Exchange exchange){
//place the message to hdfs
//using hadoop fs api
}).to("direct:ssh")
from("direct:ssh").to(sshCommand)
what I want is after sending the message to direct ssh route commit the JMS transaction. Don't wait for the direct ssh route result.
Currently, Transaction is committed only when my ssh command gives the result, Is it possible to commit in between
Thanks in advance.