All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cxf.spring.cxfrs-consumer-camel-context.xml Maven / Gradle / Ivy

There is a newer version: 12.0.0
Show newest version
<beans xmlns="http://www.springframework.org/schema/beans" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xmlns:cxf="http://camel.apache.org/schema/cxf"
    xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
        http://camel.apache.org/schema/cxf http://camel.apache.org/schema/cxf/camel-cxf.xsd
        http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
        
    <cxf:rsServer id="cxfConsumer" 
        address="http://localhost:8080/cxfrestful" 
        serviceClass="org.wildfly.camel.test.common.types.GreetingService" />
        
    <camelContext id="cxfrs-undertow" xmlns="http://camel.apache.org/schema/spring">
        <route id="consumerRoute">
            <from uri="cxfrs:bean:cxfConsumer" />
            <transform>
                <simple>Hello ${body}</simple>
            </transform>
        </route>
    </camelContext>
</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy