355.4. HTTP Producer 예제
다음은 기존 HTTP 엔드포인트에 HTTP 요청을 보내는 방법의 기본 예입니다.
Java DSL에서
from("direct:start")
.to("undertow:http://www.google.com");
from("direct:start")
.to("undertow:http://www.google.com");
또는 XML로
<route>
<from uri="direct:start"/>
<to uri="undertow:http://www.google.com"/>
<route>
<route>
<from uri="direct:start"/>
<to uri="undertow:http://www.google.com"/>
<route>