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
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.
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.
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.
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.
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
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.
amel.465427.n5.nabble.com/read-all-files-in-folder-tp4474104p4477356.html
Sent from the Camel - Users mailing list archive at Nabble.com.
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.
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.
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:
>>
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,
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 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.
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.
>
>
> --
> 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.
>
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
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
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.
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.
20 matches
Mail list logo