Hi, There are some xml escape characters you show care when you setup the Camel route with XML. You should use the & instead of & in the xml.
-- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Monday, February 25, 2013 at 1:34 PM, namita wrote: > I am able to access if I put these routes in my java class.But If I try to > load from xml then it creates problem: > This one is working: > from("xmpp://namita@ingbtcpic5nb99e:5222/[email protected] > (mailto:[email protected])&password=saimai"). > bean(new DataProcess()). > to("xmpp://vik@ingbtcpic5nb99e:5222/[email protected] > (mailto:[email protected])&password=saimai"); > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-XMPP-routing-tp5728071p5728077.html > Sent from the Camel - Users mailing list archive at Nabble.com > (http://Nabble.com).
