【发布时间】:2018-08-29 17:31:58
【问题描述】:
我在骆驼中使用 JMS 事务
我有两条路线
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)
我想要的是在将消息发送到直接 ssh 路由之后提交 JMS 事务。不要等待直接 ssh 路由结果。
目前,只有当我的 ssh 命令给出结果时才会提交事务,是否可以在两者之间提交
提前致谢。
【问题讨论】:
标签: transactions apache-camel spring-jms