192.3.3. 예 3: 데이터 저장소 사용

이 예에서는 지정된 데이터 저장소 아래에 있는 모든 항목을 사용합니다.

    from("krati:target/test/consumertest")
        .to("direct:next");

아래 표시된 것처럼 xml을 사용하여 동일한 목표를 달성할 수 있습니다.You can achieve the same goal by using xml, as you can see below.

<route>
    <from uri="krati:target/test/consumerspringtest"/>
    <to uri="mock:results"/>
</route>