Re: read all files in folder

2011-06-11 Thread Claus Ibsen
to read the file to byte array I got IO  exceptions , >> file does not exsists , obviously because I said the delete option to true >> , please advice me how to get file content as byte array ? >> > > > - > Ben O'Day > IT Consultant -http://consu

Re: read all files in folder

2011-06-10 Thread boday
m -- View this message in context: http://camel.465427.n5.nabble.com/read-all-files-in-folder-tp4474104p4477958.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: read all files in folder

2011-06-10 Thread fachhoch
ew FileInputStream(file)); // System.out.println("name"+file.getName()); } } } } -- View this message in context: http://camel.465427.n5.nabble.com/read-all-files-in-folder-tp4474104p4477531.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: read all files in folder

2011-06-10 Thread boday
notes.com -- View this message in context: http://camel.465427.n5.nabble.com/read-all-files-in-folder-tp4474104p4477520.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: read all files in folder

2011-06-10 Thread fachhoch
ange.getIn(); in.setBody(in.getBody(String.class) + " World!"); } }).to("mock:result"); -- View this message in context: http://camel.465427.n5.nabble.com/read-all-files-in-folder-tp4474104p4477460.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: read all files in folder

2011-06-10 Thread fachhoch
can I say convertBodyTo(new HashMap()) and in this hashmap I want to put the filename and its content can I do this ? -- View this message in context: http://camel.465427.n5.nabble.com/read-all-files-in-folder-tp4474104p4477436.html Sent from the Camel - Users mailing list archive at

Re: read all files in folder

2011-06-10 Thread boday
d the delete option to true > , please advice me how to get file content as byte array ? > - Ben O'Day IT Consultant -http://consulting-notes.com -- View this message in context: http://camel.465427.n5.nabble.com/read-all-files-in-folder-tp4474104p4477397.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: read all files in folder

2011-06-10 Thread fachhoch
amel.465427.n5.nabble.com/read-all-files-in-folder-tp4474104p4477356.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: read all files in folder

2011-06-10 Thread fachhoch
message in context: http://camel.465427.n5.nabble.com/read-all-files-in-folder-tp4474104p4477196.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: read all files in folder

2011-06-10 Thread fachhoch
ssor is called, is there anything wrong with .aggregate(constant(true)).completionFromBatchConsumer().groupExchanges() -- View this message in context: http://camel.465427.n5.nabble.com/read-all-files-in-folder-tp4474104p4477142.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: read all files in folder

2011-06-10 Thread Taariq Levack
hanks for your reply I want to get them as files(java.io.File) not as >> Strings I need each file name and its content . >> >> -- >> If you reply to this email, your message will be added to the discussion >> below: >>

Re: read all files in folder

2011-06-10 Thread boday
ile name and its content . > > -- > If you reply to this email, your message will be added to the discussion > below: > > http://camel.465427.n5.nabble.com/read-all-files-in-folder-tp4474104p4476750.html > To unsubscribe from read all files in folder,

Re: read all files in folder

2011-06-10 Thread fachhoch
Thanks for your reply I want to get them as files(java.io.File) not as Strings I need each file name and its content . -- View this message in context: http://camel.465427.n5.nabble.com/read-all-files-in-folder-tp4474104p4476750.html Sent from the Camel - Users mailing list archive at

Re: read all files in folder

2011-06-10 Thread boday
re there any examples? > - Ben O'Day IT Consultant -http://consulting-notes.com -- View this message in context: http://camel.465427.n5.nabble.com/read-all-files-in-folder-tp4474104p4476743.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: read all files in folder

2011-06-10 Thread fachhoch
uld I call } } -- View this message in context: http://camel.465427.n5.nabble.com/read-all-files-in-folder-tp4474104p4476735.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: read all files in folder

2011-06-10 Thread Taariq Levack
> > > -- > View this message in context: > http://camel.465427.n5.nabble.com/read-all-files-in-folder-tp4474104p4476258.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Re: read all files in folder

2011-06-10 Thread fachhoch
Please tell me on how to get all files in my processor My processor gets exchange but I have no clue how to get all files from exchange are there any examples? -- View this message in context: http://camel.465427.n5.nabble.com/read-all-files-in-folder-tp4474104p4476258.html Sent from

Re: read all files in folder

2011-06-09 Thread Claus Ibsen
t; > > > - > Ben O'Day > IT Consultant -http://consulting-notes.com > > -- > View this message in context: > http://camel.465427.n5.nabble.com/read-all-files-in-folder-tp4474104p4474144.html > Sent from the Camel - Users mailing list archive at Nabble.com. &g

Re: read all files in folder

2011-06-09 Thread boday
be called once with all the file , can I do this > ? > - Ben O'Day IT Consultant -http://consulting-notes.com -- View this message in context: http://camel.465427.n5.nabble.com/read-all-files-in-folder-tp4474104p4474144.html Sent from the Camel - Users mailing list archive at Nabble.com.

read all files in folder

2011-06-09 Thread fachhoch
file , can I do this ? -- View this message in context: http://camel.465427.n5.nabble.com/read-all-files-in-folder-tp4474104p4474104.html Sent from the Camel - Users mailing list archive at Nabble.com.