Re: Apache Camel multithread processing

2013-10-12 Thread Christian Mueller
Astorath, can you please subscribe to the discussion forum as we describe here [1]. Otherwise all your mails has to be moderate by the Camel team and is may missed/delayed. [1] http://camel.apache.org/discussion-forums.html Thanks in advance, Christian -- View this message in context: http:/

Re: Email Attachments - Adding to Exchange Attachments

2013-10-12 Thread Christian Mueller
Contactreji, can you please subscribe to the discussion forum as we describe here [1]. Otherwise all your mails has to be moderate by the Camel team and is may missed/delayed. [1] http://camel.apache.org/discussion-forums.html Thanks in advance, Christian -- View this message in context: htt

Re: Java DSL: do I have to have a child for a split()?

2013-10-12 Thread Keith Freeman
To your question: I guess it's just a matter of the camel DSL semantics: the output of the split() is multiple bodies that will be handled later in the route, not here within the context of the choice(), so it seems awkward to have to add a processor that does exactly nothing. To your suggesti

Re: Apache Camel multithread processing

2013-10-12 Thread Raul Kripalani
If you're trying to process multiple records picked up by a DB query in parallel, you should take a look at the Splitter EIP, which includes support for multithreading out of the box. Regards, Raúl. > On 12 Oct 2013, at 01:21, astorath wrote: > > I want the route to operate in several thread sim

Re: Java DSL: do I have to have a child for a split()?

2013-10-12 Thread Christian Müller
Your route is the following (I formatted it a bit): choice() .when(...).bean(...) .split().method(splitBean, "splitMethod") .endChoice() .otherwise() .bean(...); When your write "I just want the results of the split() to be forwarded down the route", how do you do this without a proc

Re: Timeouts in CXFRS

2013-10-12 Thread Nils Andermo
I have read the thread you suggest carefully, and still cannot get the timeout settings for the cxfrs client to be acknowledged. I am new to Camel, so I might very well be missing something obvious :) This is what I add to my spring config file: http://cxf.apache.org/transports/http/configuration"

Re: Apache Camel multithread processing

2013-10-12 Thread Christian Müller
You should explain your requirements in more detail. Or have a look at the following sites to answer the question yourself: http://camel.apache.org/multicast.html http://camel.apache.org/seda.html Best, Christian - Software Integration Specialist Apache Member V.P. Apache Camel |

Re: Email Attachments - Adding to Exchange Attachments

2013-10-12 Thread Christian Müller
You have to remove the ${ESB_HOME}/data directory, if you do this change afterwards. It's the case for a few config changes after you already started and stopped the ESB. Best, Christian - Software Integration Specialist Apache Member V.P. Apache Camel | Apache Camel PMC Member |

Re: Netty: messages not propagated back from netty producer

2013-10-12 Thread Claus Ibsen
Maybe not. Try upgrading Camel and some of the suggestion we say on this page http://camel.apache.org/support On Fri, Oct 11, 2013 at 8:36 PM, javakurious wrote: > Thanks for the clarification.. > > So, that won't have anything to do with the message not being returned up > the chain back to the

Re: Java DSL: do I have to have a child for a split()?

2013-10-12 Thread Claus Ibsen
Hi Yes a child output is expected. Maybe instead of using splitter use message translator, and return what your want asap, instead of splitting. On Fri, Oct 11, 2013 at 9:58 PM, Keith Freeman <8fo...@gmail.com> wrote: > My route is built in parts from different spots in my code, and at one point