377.5. Spring XML 버전

Spring XML에서 위의 예제를 사용하려면 다음 코드를 사용합니다.

  <camelContext xmlns="http://activemq.apache.org/camel/schema/spring">
    <route>
      <from uri="activemq:My.Queue"/>
      <to uri="xslt:org/apache/camel/spring/processor/example.xsl"/>
      <to uri="activemq:Another.Queue"/>
    </route>
  </camelContext>

예를 보려면 Spring XML 과 함께 테스트 사례 를 살펴보십시오.