358.6. HTTP Consumer 示例
在这个示例中,我们定义在 http://localhost:8080/myapp/myservice
中公开 HTTP 服务的路由:
<route> <from uri="undertow:http://localhost:8080/myapp/myservice"/> <to uri="bean:myBean"/> </route>
<route>
<from uri="undertow:http://localhost:8080/myapp/myservice"/>
<to uri="bean:myBean"/>
</route>