357.6. HTTP Consumer 示例

在本例中,我们定义了一个在 http://localhost:8080/myapp/myservice 中公开 HTTP 服务的路由:

<route>
  <from uri="undertow:http://localhost:8080/myapp/myservice"/>
  <to uri="bean:myBean"/>
</route>