If you want to load an _instance_ of that schema and not the schema itself, 
this could also help
http://camel.apache.org/jaxb.html

Jan

> -----Ursprüngliche Nachricht-----
> Von: Charles Moulliard [mailto:ch0...@gmail.com]
> Gesendet: Freitag, 28. November 2014 09:41
> An: users@camel.apache.org
> Betreff: Re: Camel
> 
> Hi,
> 
> Here is the camel component that you should use to poll a directory
> containing files : http://camel.apache.org/file2.html
> As you are most probably a Camel beginner, please read the starting
> guide http://camel.apache.org/getting-started.html & how to design a
> camel route using DSL : http://camel.apache.org/dsl.html.
> 
> Regards,
> 
> On Fri, Nov 28, 2014 at 7:29 AM, smilevasu6 <srinivas.thu...@gmail.com>
> wrote:
> 
> > Hi,
> >
> > I want read below file in camel,
> >
> > <?xml version="1.0" encoding="utf-8"?> <xs:schema
> > elementFormDefault="qualified"
> > xmlns:xs="http://www.w3.org/2001/XMLSchema";>
> >   <xs:element name="Address">
> >     <xs:complexType>
> >       <xs:sequence>
> >         <xs:element name="Recipient" type="xs:string" />
> >         <xs:element name="House" type="xs:string" />
> >         <xs:element name="Street" type="xs:string" />
> >         <xs:element name="Town" type="xs:string" />
> >         <xs:element name="County" type="xs:string" minOccurs="0" />
> >         <xs:element name="PostCode" type="xs:string" />
> >         <xs:element name="Country" type="xs:string minOccurs="0"" />
> >         </xs:element>
> >       </xs:sequence>
> >     </xs:complexType>
> >   </xs:element>
> > </xs:schema>
> >
> > Can you please help me how to router for this?
> >
> >
> >
> > --
> > View this message in context:
> > http://camel.465427.n5.nabble.com/Camel-tp5759735.html
> > Sent from the Camel - Users mailing list archive at Nabble.com.
> >
> 
> 
> 
> --
> Charles Moulliard
> Apache Committer / Architect @RedHat
> Twitter : @cmoulliard | Blog :  http://cmoulliard.github.io

Reply via email to