I am attempting to use property placeholders as described here: http://camel.apache.org/properties.html
I am using camel 2.8.1. I am getting this error on deployment: Caused by: org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'prop:poolSize' is not allowed to appear in element 'threadPoolProfile'. Does anyone know why I get this error? Below is my xml dsl. <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jee="http://www.springframework.org/schema/jee" xmlns:util="http://www.springframework.org/schema/util" xmlns:context="http://www.springframework.org/schema/context" xmlns:camel="http://camel.apache.org/schema/spring" xmlns:prop="http://camel.apache.org/schema/placeholder" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"> <camelContext id="my-camel-context" xmlns="http://camel.apache.org/schema/spring"> <propertyPlaceholder id="properties" location="classpath:my.properties"/> <threadPoolProfile id="myDefaultProfile" defaultProfile="true" prop:poolSize="POOL_SIZE" prop:keepAliveTime="KEEP_ALIVE_TIME" prop:maxPoolSize="MAX_POOL_SIZE" prop:maxQueueSize="MAX_QUEUE_SIZE" prop:rejectedPolicy="REJECTED_POLICY" /> </camelContext> </beans> -- View this message in context: http://camel.465427.n5.nabble.com/Property-placeholder-tp5489904p5489904.html Sent from the Camel - Users mailing list archive at Nabble.com.