public String getPath() { return getEndpoint().getPath(); }
@Override public Map<String, String> getServiceProperties() { return CollectionHelper.immutableMapOf( ServiceDefinition.SERVICE_META_PORT, Integer.toString(getPort()), ServiceDefinition.SERVICE_META_PATH, getPath(), ServiceDefinition.SERVICE_META_PROTOCOL, getProtocol() ); }
exchange.setIn(new HttpMessage(exchange, consumer.getEndpoint(), request, response)); String contextPath = consumer.getEndpoint().getPath(); exchange.getIn().setHeader("CamelServletContextPath", contextPath);
exchange.setIn(new HttpMessage(exchange, consumer.getEndpoint(), request, response)); String contextPath = consumer.getEndpoint().getPath(); exchange.getIn().setHeader("CamelServletContextPath", contextPath);