Wow nice job! I'll make sure that I try 1.6.1 soon.
Thanks a lot Claus.
--
View this message in context:
http://www.nabble.com/StreamCaching-in-Camel-1.6-tp22305654p22581500.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.
class);
>>> while (inputStream.read() != -1) {}
>>> }
>>> });
>>> }
>>> });
>>>
>>> context.start();
>>>
>>> HttpClient cl
context.start();
>>
>> HttpClient client = new HttpClient();
>> PostMethod method = new PostMethod("http://localhost:8989/bigfile";);
>> File file = new File("c:\\temp\\test.bin.ok2");
>> method.setRequestEntity(new
this message in context:
http://www.nabble.com/StreamCaching-in-Camel-1.6-tp22305654p22554404.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.
start();
>
> HttpClient client = new HttpClient();
> PostMethod method = new PostMethod("http://localhost:8989/bigfile";);
> File file = new File("c:\\temp\\test.bin.ok2");
> method.setRequestEntity(new FileRequestEntity(file,
>
= new HttpClient();
PostMethod method = new PostMethod("http://localhost:8989/bigfile";);
File file = new File("c:\\temp\\test.bin.ok2");
method.setRequestEntity(new FileRequestEntity(file,
"unknown/unknown"));
assertEquals(200, clien
Hi
Just as Gert said.
In CXF , we will cache the big message into the File instead of the memory.
I think we could do the same thing in Camel.
I just filled a JIRA[2] for it.
[1] http://www.nabble.com/Re%3A-StreamCaching-in-Camel-1.6-to22305858.html
[2] https://issues.apache.org/activemq
is
> seems not to make any difference.
>
> Now, my question is if there is some other way to disable stream caching or
> if I'm doing something wrong here.
>
> Thanks in advance
> Jens
> --
> View this message in context:
> http://www.nabble.com/StreamCaching-in-Camel-1.6-tp22305654p22305654.html
> Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.
>
>
any difference.
Now, my question is if there is some other way to disable stream caching or
if I'm doing something wrong here.
Thanks in advance
Jens
--
View this message in context:
http://www.nabble.com/StreamCaching-in-Camel-1.6-tp22305654p22305654.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.