Change-Id: I05abe29c7df0b22026547f2e89b5074281f1a7ea Former-commit-id: 3aff99e787a7368f40cdd161581ead2d3552118c
24 lines
971 B
XML
24 lines
971 B
XML
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
|
|
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
|
|
|
|
<camelContext id="ebxml-request-service-camel"
|
|
xmlns="http://camel.apache.org/schema/spring"
|
|
errorHandlerRef="errorHandler">
|
|
|
|
<endpoint id="webServiceEndpoint"
|
|
uri="jetty:http://0.0.0.0:${ebxml.thrift.service.port}${HTTP_SERVER_PATH}?${edex.requestsrv.http.properties}" />
|
|
|
|
<route id="webServiceRoute" streamCache="false">
|
|
<from uri="webServiceEndpoint" />
|
|
<setBody>
|
|
<simple>
|
|
bodyAs(javax.servlet.http.HttpServletRequest)
|
|
</simple>
|
|
</setBody>
|
|
<bean ref="httpServiceExecutor" method="execute(${body}, ${in.header.CamelHttpServletResponse})"/>
|
|
</route>
|
|
</camelContext>
|
|
|
|
</beans>
|