Full integration example from a CSV files to a JMS queue

View: New views
4 Messages — Rating Filter:   Alert me  

Full integration example from a CSV files to a JMS queue

by Julien D :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi guys,

I made a full integration example doing the following things :

- Consum multiple messages from a CSV files
- unmarshal the content using camel-csv
- split the messages using the split method
- Convert the body into a buisiness object using custom camel converters
- Process the body using a processor
- marshal the result into XML using camel-xstream
- Produce to a JMS endpoint

http://onjavahell.blogspot.com/2009/05/taking-apache-camel-for-ride.html

Hope it can help some people.

Re: Full integration example from a CSV files to a JMS queue

by Claus Ibsen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jul 8, 2009 at 5:20 PM, Julien D<myrddin22@...> wrote:

>
> Hi guys,
>
> I made a full integration example doing the following things :
>
> - Consum multiple messages from a CSV files
> - unmarshal the content using camel-csv
> - split the messages using the split method
> - Convert the body into a buisiness object using custom camel converters
> - Process the body using a processor
> - marshal the result into XML using camel-xstream
> - Produce to a JMS endpoint
>
> http://onjavahell.blogspot.com/2009/05/taking-apache-camel-for-ride.html
> http://onjavahell.blogspot.com/2009/05/taking-apache-camel-for-ride.html
>
> Hope it can help some people.
Hi Julien

Great blog post. Glad you took the time to write such a well written post.

I have added a link to it from the Camel articles page
http://camel.apache.org/articles.html


> --
> View this message in context: http://www.nabble.com/Full-integration-example-from-a-CSV-files-to-a-JMS-queue-tp24393087p24393087.html
> Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.
>
>



--
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Re: Full integration example from a CSV files to a JMS queue

by cmoulliard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Great stuff Julien,

Don't hesitate to have also a look to camel-bindy
http://camel.apache.org/bindy.html. It will simplify your life in term of
binding csv to your model object, ...

Regards,

Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com


On Wed, Jul 8, 2009 at 5:20 PM, Julien D <myrddin22@...> wrote:

>
> Hi guys,
>
> I made a full integration example doing the following things :
>
> - Consum multiple messages from a CSV files
> - unmarshal the content using camel-csv
> - split the messages using the split method
> - Convert the body into a buisiness object using custom camel converters
> - Process the body using a processor
> - marshal the result into XML using camel-xstream
> - Produce to a JMS endpoint
>
> http://onjavahell.blogspot.com/2009/05/taking-apache-camel-for-ride.html
> http://onjavahell.blogspot.com/2009/05/taking-apache-camel-for-ride.html
>
> Hope it can help some people.
> --
> View this message in context:
> http://www.nabble.com/Full-integration-example-from-a-CSV-files-to-a-JMS-queue-tp24393087p24393087.html
> Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.
>
>
Charles Moulliard
SOA Architect

My Blog : http://cmoulliard.blogspot.com/ 

Re: Full integration example from a CSV files to a JMS queue

by Julien D :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Indeed. I totally forgot this new component. I will give it a shot.

cmoulliard wrote:
Great stuff Julien,

Don't hesitate to have also a look to camel-bindy
http://camel.apache.org/bindy.html. It will simplify your life in term of
binding csv to your model object, ...

Regards,

Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com


On Wed, Jul 8, 2009 at 5:20 PM, Julien D <myrddin22@hotmail.com> wrote:

>
> Hi guys,
>
> I made a full integration example doing the following things :
>
> - Consum multiple messages from a CSV files
> - unmarshal the content using camel-csv
> - split the messages using the split method
> - Convert the body into a buisiness object using custom camel converters
> - Process the body using a processor
> - marshal the result into XML using camel-xstream
> - Produce to a JMS endpoint
>
> http://onjavahell.blogspot.com/2009/05/taking-apache-camel-for-ride.html
> http://onjavahell.blogspot.com/2009/05/taking-apache-camel-for-ride.html
>
> Hope it can help some people.
> --
> View this message in context:
> http://www.nabble.com/Full-integration-example-from-a-CSV-files-to-a-JMS-queue-tp24393087p24393087.html
> Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.
>
>


-----
Charles Moulliard
SOA Architect

My Blog : http://cmoulliard.blogspot.com/