On 8/15/07, Aaron Crickenberger <[EMAIL PROTECTED]> wrote: > Using the latest from camel's trunk, I modified camel-spring's > simpleRoute.xml so the route looks like this: > > <route> > <from uri="direct:start?paramA=1¶mB=2"/> > <to uri="mock:result"/> > </route>
So when XML encoding URIs, you need to use & instead of &. So this should do the trick... <from uri="direct:start?paramA=1&paramB=2"/> Sometimes XML is a total pain in the ass - I mean who uses entity references any more. BTW I've added a FAQ entry on this as I see other folks hitting this XML pain... http://cwiki.apache.org/CAMEL/how-do-i-use-uris-with-parameters-in-xml.html > Maybe a red herring, but I see the following messages during the > [antrun:run {execution: process-sources}] step: > > /Users/acricken/workspaces/apache/camel/components/camel-spring/target/schema-src/org/apache/camel/spring/CamelBeanPostProcessor.java:37: > package org.apache.camel.spring.util does not exist > import org.apache.camel.spring.util.ReflectionUtils; Oh thats just a warning (I wish I could figure out how to hide) when running the XSD generation step - you can safely ignore those. Basically I don't think the classpath is exactly right so that the JAXB2 code generation of the XSD does have warnings. -- James ------- http://macstrac.blogspot.com/