我有两条路线 A 和 B 如下
from("some endpoint") //route A
.to("direct:x")
from("direct:x") //route B
.doTry()
.bean("somebean") //set Custom object PQR as message body
.doCatch()
.bean("some other bean") //log exception
.end()
现在我想在路由 A 完成(已经完成)后调用路由 B。现在如何从路由 A 中的路由 B 获取响应 PQR 对象(仅当路由 B 成功时)?