camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramana <polaka...@gmail.com>
Subject cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'camel:destination'.
Date Wed, 02 Apr 2014 11:26:25 GMT
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.

Mime
View raw message