Its XML so you must obey the XML rules :)

& must be escaped as & in XML attributes.

And so must > and < etc as &gt; and &lt;



On Fri, Nov 29, 2013 at 6:43 PM, JonathanVila <[email protected]> wrote:
> Hello
>
> I'm trying to use Quartz with Apache Camel in OSGi container with a
> blueprint file :
>
> <?xml version="1.0" encoding="UTF-8"?>
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";>
>     <camelContext xmlns="http://camel.apache.org/schema/blueprint";
> id="mainContext">
>          <route id="quartz">
>             <from
> uri="quartz2://migrupo/mitempo?trigger.repeatInterval=20&trigger.repeatCount=100;"/>
>             <setBody>
>                 <simple>Mensaje para Quartz</simple>
>             </setBody>
>             <to uri="stream:out"/>
>         </route>
>     </camelContext>
> </blueprint>
>
> But I receive an error ( JBoss Fuse 6.1 ) :
>
> org.xml.sax.SAXParseException: The reference to entity "trigger.repeatCount"
> must end with the ';' delimiter.
>         at
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
> Source)[:]
>
> What am I writing wrong ? I've tried the same with Quartz 1.... and happens
> the same.
>
> Regards.
>
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Quartz-trigger-repeatCount-error-tp5744089.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to