Which XSD is actually used here?
I've looked into AMQ 5.1 and it uses camel 1.3.0
The corresponding XSD is
http://activemq.apache.org/camel/schema/spring/camel-spring-1.3.0.xsd

But it tells me that

Element <setHeader> is not allowed under element <route>.
        Reason: The following elements are expected at this location (see below)
                <tns:loadBalance>
                <tns:throwFault>
                <tns:finally>
                <tns:choice>
                <tns:unmarshal>
                <tns:resequencer>
                <tns:multicast>
                <tns:catch>
                <tns:to>
                <tns:process>
                <tns:onException>
                <tns:routingSlip>
                <tns:otherwise>
                <tns:recipientList>
                <tns:splitter>
                <tns:when>
                <tns:bean>
                <tns:route>
                <tns:interceptor>
                <tns:throttler>
                <tns:from>
                <tns:marshal>
                <tns:proceed>
                <tns:idempotentConsumer>
                <tns:thread>
                <tns:aggregator>
                <tns:delayer>
                <tns:filter>
                <tns:policy>
                <tns:try>
                <tns:intercept>

:confused:
        
-- 
View this message in context: 
http://www.nabble.com/how-to-inject-JMS-property-to-all-messages-in-a-queue--tp20015597s22882p20031065.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to