You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by ramana <po...@gmail.com> on 2014/04/02 13:26:25 UTC
cvc-complex-type.2.4.c: The matching wildcard is strict, but no
declaration can be found for element 'camel:destination'.
Hi All,
I am using CXF example for using Camel transport,
I am geeting error
Multiple annotations found at this line:
- Start tag of element <camel:destination>
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no
declaration can be found for element
'camel:destination'.
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:camel="http://cxf.apache.org/transports/camel"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://cxf.apache.org/transports/camel
http://cxf.apache.org/transports/camel.xsd
http://camel.apache.org/schema/cxf
http://camel.apache.org/schema/cxf/cxfEndpoint.xsd
http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd
">
<bean id="bridgePropertyPlaceholder"
class="org.apache.camel.spring.spi.BridgePropertyPlaceholderConfigurer"/>
<bean id = "roundRobinRef"
class="org.apache.camel.processor.loadbalancer.RoundRobinLoadBalancer" />
<camelContext id="dest_context"
xmlns="http://camel.apache.org/schema/spring">
<route>
<from
uri="jetty:http://localhost:{{port}}/GreeterContext/GreeterPort"/>
<loadBalance ref="roundRobinRef">
<to uri="direct:EndpointA"/>
<to uri="direct:EndpointB"/>
</loadBalance>
</route>
</camelContext>
<camel:destination
name="{http://apache.org/hello_world_soap_http}CamelPort.camel-destination">
<camel:camelContextRef>dest_context</camel:camelContextRef>
</camel:destination>
</beans>
--
View this message in context: http://camel.465427.n5.nabble.com/cvc-complex-type-2-4-c-The-matching-wildcard-is-strict-but-no-declaration-can-be-found-for-element-c-tp5749662.html
Sent from the Camel - Users mailing list archive at Nabble.com.