You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "Robert J. Liguori" <ca...@gliesian.com> on 2011/07/18 01:18:13 UTC
General guidance for simple camel-supported app.
Hey guys,
I'm pretty new to Camel...
I have a very basic app I want to build, and was hoping for some
pointers on how I can do it with Camel.
Here it is:
(1) Poll a folder for XML files
(2) When an XML file arrives, validate it against its XML Schema (XSD)
(3) If the file is invalid, move it to an invalid-files folder
(4) If the file is valid, convert it to a POJO (i.e., Jaxb), where it
will thereafter be used in an application.
Any pointers or suggestions?
All and any help is appreciated.
-- Robert
--
Sincerely,
Robert J. Liguori
STG Technologies, Inc.
Re: General guidance for simple camel-supported app.
Posted by "Robert J. Liguori" <ca...@gliesian.com>.
Thank you Ashwin.
On Sun, 17 Jul 2011 19:09:44 -0700 (PDT), Ashwin Karpe
<ak...@fusesource.com> wrote:
> Hi,
>
> I am attaching 2 links... Between these 2 links you should have your
> answer...
> The first link shows how to wire create a JAXB based camel route. The second
> links shows to wire an xml validating processor.
>
> https://svn.apache.org/viewvc/camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/jaxb/JaxbDataFormatIssueTest.java?view=co
> https://svn.apache.org/viewvc/camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/jaxb/JaxbDataFormatIssueTest.java?view=co
>
> https://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/ValidatingProcessorTest.java?view=co
> https://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/ValidatingProcessorTest.java?view=co
>
>
> Hope this helps get you there.
>
> Cheers,
>
> Ashwin...
>
> -----
> ---------------------------------------------------------
> Ashwin Karpe
> Apache Camel Committer & Sr Principal Consultant
> FUSESource (a Progress Software Corporation subsidiary)
> http://fusesource.com
>
> Blog: http://opensourceknowledge.blogspot.com
> ---------------------------------------------------------
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/General-guidance-for-simple-camel-supported-app-tp4597618p4597855.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Sincerely,
Robert J. Liguori
STG Technologies, Inc.
Re: General guidance for simple camel-supported app.
Posted by Ashwin Karpe <ak...@fusesource.com>.
Hi,
I am attaching 2 links... Between these 2 links you should have your
answer...
The first link shows how to wire create a JAXB based camel route. The second
links shows to wire an xml validating processor.
https://svn.apache.org/viewvc/camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/jaxb/JaxbDataFormatIssueTest.java?view=co
https://svn.apache.org/viewvc/camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/jaxb/JaxbDataFormatIssueTest.java?view=co
https://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/ValidatingProcessorTest.java?view=co
https://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/ValidatingProcessorTest.java?view=co
Hope this helps get you there.
Cheers,
Ashwin...
-----
---------------------------------------------------------
Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary)
http://fusesource.com
Blog: http://opensourceknowledge.blogspot.com
---------------------------------------------------------
--
View this message in context: http://camel.465427.n5.nabble.com/General-guidance-for-simple-camel-supported-app-tp4597618p4597855.html
Sent from the Camel - Users mailing list archive at Nabble.com.