public class DefaultServiceCallExpression extends ServiceCallExpressionSupport
serviceCall("myService") -> http://hostname:port
serviceCall("myService/foo") -> http://hostname:port/foo
serviceCall("http:myService/foo") -> http:hostname:port/foo
serviceCall("myService", "http:myService.host:myService.port/foo") -> http:hostname:port/foo
serviceCall("myService", "netty:tcp:myService?connectTimeout=1000") -> netty:tcp:hostname:port?connectTimeout=1000
| Constructor and Description |
|---|
DefaultServiceCallExpression() |
DefaultServiceCallExpression(String hostHeader,
String portHeader) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildCamelEndpointUri(String name,
String host,
Integer port,
String uri,
String contextPath,
String scheme) |
protected String |
doBuildCamelEndpointUri(String host,
Integer port,
String contextPath,
String scheme) |
evaluate, getHostHeader, getPortHeader, setHostHeader, setPortHeaderprotected String buildCamelEndpointUri(String name, String host, Integer port, String uri, String contextPath, String scheme)
buildCamelEndpointUri in class ServiceCallExpressionSupportApache Camel