activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Gunther" <Jeff.Gunt...@intalgent.com>
Subject [camel] Recipient List - Spring Extension
Date Wed, 25 Jul 2007 03:40:30 GMT
Is this valid XML for the Recipient List Spring Extension?

<camelContext id="buildStaticRecipientList" xmlns="http:// 
activemq.apache.org/camel/schema/spring">
   <route>
     <from uri="seda:a"/>
     <to>
       <uri>seda:b</uri>
       <uri>seda:c</uri>
       <uri>seda:d</uri>
     </to>
   </route>
</camelContext>

When I try to use this notation, I get the following error:

nested exception is org.xml.sax.SAXParseException: cvc-complex-type. 
2.4.a: Invalid content was found starting with element 'uri'. One of  
'{"http://activemq.apache.org/camel/schema/spring":endpoint}' is  
expected.)

Any ideas?

Mime
View raw message