54.3. 例子 例如,您可以将 Predicate 中的 JQ 与基于内容的路由 EIP 搭配使用。 from("queue:books.new") .choice() .when().jq(".store.book.price < 10)") .to("jms:queue:book.cheap") .when().jq(".store.book.price < 30)") .to("jms:queue:book.average") .otherwise() .to("jms:queue:book.expensive"); 前一个下一个