184.3.3. 例 3: データストアの使用
この例では、指定されたデータストアの配下にあるアイテムをすべて消費します。
from("krati:target/test/consumertest") .to("direct:next");
from("krati:target/test/consumertest")
.to("direct:next");
以下で示すように xml を使用して同じ目的を達成できます。
<route> <from uri="krati:target/test/consumerspringtest"/> <to uri="mock:results"/> </route>
<route>
<from uri="krati:target/test/consumerspringtest"/>
<to uri="mock:results"/>
</route>