2012-01-06 08:55:05 -06:00
|
|
|
<beans
|
|
|
|
xmlns="http://www.springframework.org/schema/beans"
|
|
|
|
xmlns:amq="http://activemq.apache.org/schema/core"
|
|
|
|
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-2.0.xsd
|
|
|
|
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd
|
|
|
|
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
|
2012-08-21 15:27:03 -05:00
|
|
|
<camelContext id="textdbsrv-request-camel" xmlns="http://camel.apache.org/schema/spring" errorHandlerRef="errorHandler">
|
|
|
|
|
|
|
|
<endpoint id="textdbsrvXml_from"
|
|
|
|
uri="jetty:http://0.0.0.0:${http.port}/services/textdbsrv?disableStreamCache=true" />
|
|
|
|
|
2012-01-06 08:55:05 -06:00
|
|
|
<route id="textdbsrvXml">
|
2012-08-21 15:27:03 -05:00
|
|
|
<from uri="ref:textdbsrvXml_from" />
|
2012-01-06 08:55:05 -06:00
|
|
|
<bean ref="serializationUtil" method="unmarshalFromXml" />
|
|
|
|
<bean ref="textdbsrv" method="processMessage" />
|
|
|
|
<bean ref="serializationUtil" method="marshalToXml" />
|
|
|
|
</route>
|
|
|
|
</camelContext>
|
|
|
|
</beans>
|