Re: Streaming upload

2016-08-23 Thread souciance
ably processed by Camel into an Exchange object) > >> before I could start processing it in my bean. > >> > >> Is it possible to use Camel to route an HTTP POST request to a Spring > >> bean in such a way that I can the process it in a streaming manner? &g

Re: Streaming upload

2016-08-22 Thread Brad Johnson
Yeah, my bad. I noticed that after I sent the link out. I may have been thinking about the netty4 component but will refrain from comment as I don't know if it does what you're looking for. But something must as your request doesn't seem that unusual. Brad On Sun, Aug 21, 2016 at 11:39 AM,

Re: Streaming upload

2016-08-21 Thread Jonas Koperdraat
Brad, thank you for the suggestion. However, the documentation of netty4-http states: "Notice Netty4 HTTP reads the entire stream into memory using io.netty.handler.codec.http.HttpObjectAggregator to build the entire full http message.", which is exactly what I don't want as the application is

Re: Streaming upload

2016-08-20 Thread Brad Johnson
Perhaps the netty component would be better for this but I don't have a lot of experience with it. It's just my understanding is that it really shines for this type of streaming operation. http://camel.apache.org/netty4-http.html Brad On Sat, Aug 20, 2016 at 6:44 AM, Jonas Koperdraat

Streaming upload

2016-08-20 Thread Jonas Koperdraat
Hi, I am trying to process a multipart/form-data upload in a streaming manner. We are using camel-servlet and camel-rest (2.17.0) to route REST paths to Spring beans for processing the request. However, with anything that I have tried, I only get to the Spring bean after the entire request has