RE: Rép. : RE: camel-mail IMAP mime-multipart splitAttachment

2017-12-11 Thread Siano, Stephan
Hi, the name of the xml-element is "mime-multipart", not "mimeMultipart". Can you try that? Best regards Stephan -Original Message- From: Daniel Langevin [mailto:daniel.lange...@shq.gouv.qc.ca] Sent: Freitag, 8. Dezember 2017 19:56 To: users@camel.apache.org Subject: Rép. : RE:

Exchange stats

2017-12-11 Thread Mihai Glonț
Hi, In our application we have a route from a SEDA queue to an Exec endpoint. I know how to retrieve the number of pending exchanges, but is there a way to tell how many are currently in progress (waiting for the external process to finish), or have been processed by the current CamelContext

RE: MIME-Mutipart DataFormat streaming?

2017-12-11 Thread Siano, Stephan
Hi, I actually don't understand that issue. Can you provide a simple test case for it? The stream involved in the code lines you are citing is actually the output stream, not the input stream. The multipart data format should also work on streams, so if there is an issue with that, that is

netty4-http send chunked response

2017-12-11 Thread Sharples, Colin
I have a route that sends to a service running on DataPower, which by default sends responses as Transfer-Encoding: chunked. I need to be able to set up a route to use in a test case that simulates this service, but I can't see any way to tell a netty4-http consumer to send a chunked response.

Writing to message body

2017-12-11 Thread Tim Dudgeon
I have a payload that is generated in a Camel Processor that allows its data to be obtained with a writeTo(OutputStream out) method. Is there an easy way to use this to write to the output Message's body using this method? e.g. Normally you might have an InputStream and and set it using

Re: Most efficient way to unmarshall a large web service response

2017-12-11 Thread bob anderson
Hi, I'm not sure if this is helpful. I use Camel Spring XML DSL to update a Master Data table from a suppliers database. The Master Data is accessible to us via a webservice. The server this runs on has only 500Mb of heap memory allocated. I use CXF to handle the Webservice call and had issues

Re: MIME-Mutipart DataFormat streaming?

2017-12-11 Thread Tim Dudgeon
Following up on this again (after a long delay). I tried using the MIME-Multipart DataFormat to send and hit a problem when the input stream for an attachment cannot be read multiple times. It looks like in the MimeMultipartDataFormat.marshal( ... ) method [1] this InputStream for an