Re: REST DSL process multipart/form-data binary file?

2017-09-30 Thread Roman Vottner
Our Camel REST DSL configuration looks like this: onException(Exception.class) .handled(true) .logExhausted(false) .log(LoggingLevel.ERROR, ">> In default/message exception handler. ${exception}, message: ${exception.message}, stacktrace: ${exception.stacktrace}")

Re: REST DSL process multipart/form-data binary file?

2017-09-30 Thread Mark
I understand that, problem is that I can't figure out how to configure the Camel Route to properly receive/parse the data. If I was receiving JSON/KML, this would be easy using the functionality in Camel. Binary files seem to be totally different. On Sat, Sep 30, 2017 at 8:13 PM, Mark Nuttall

Re: REST DSL process multipart/form-data binary file?

2017-09-30 Thread Mark Nuttall
it is just a file. any example of processing a file should work. you will be able to save it somewhere and then you will have to call some processor to read/process it. On Fri, Sep 29, 2017 at 7:47 PM, Mark wrote: > I'm trying to figure out how to process a binary file that is sent to my > Came