Write Apache POI Workbook to the Exchange

2012-08-27 Thread Joe San
Guys, I have an Apache POI workbook and I would like to write that workbook to the Camel Exchange. How could I do that? // Outputting to Excel spreadsheet FileOutputStream output = null; try { output = new FileOutputStream(new File(FILE_NAME + FILE_TYPE_XLS));

Re: Write Apache POI Workbook to the Exchange

2012-08-27 Thread santoshjoshi
you can use Producer template http://camel.apache.org/producertemplate.html http://camel.apache.org/producertemplate.html to send it to any Endpoint. -- View this message in context: http://camel.465427.n5.nabble.com/Write-Apache-POI-Workbook-to-the-Exchange-tp5718138p5718152.html Sent from