Re: Mail-Component: HTML body is sent twice.

2015-01-02 Thread sabri.bousselmi
Thanks for reply.
That's exactly what i did to solve the problem for the time being. but I am
not convinced about Mail Producer behavior, only the exchange body should be
mapped as Email content to MimeMessage.
Nothing mentioned in the documentation says that additional Headers affect
the email content -- for my point of view there is 2 cases:
1- wrong mapping at Mail producer Level when we build the MimeMessage.
2- wrong mapping at Transport level(Java-Mail API).


Regards
Sabri




--
View this message in context: 
http://camel.465427.n5.nabble.com/Mail-Component-HTML-body-is-sent-twice-tp5761124p5761236.html
Sent from the Camel - Users mailing list archive at Nabble.com.


streaming results using rest dsl

2015-01-02 Thread Tim Dudgeon

Is there a way to stream output using the Rest DSL?
Something like using the JAC-RS StreamingOutput class?
http://docs.oracle.com/javaee/6/api/javax/ws/rs/core/StreamingOutput.html

I have large amount of data (split into multiple Exchanges) and don't 
want to wait for all to be processed before start sending the response.


Tim