fork & join pattern with Camel

2012-01-15 Thread jmh
Hello, could you tell me what is the best way in Camel to implement the fork & join pattern (wait, and/or condition) ? I don't want to use BPEL since my workflow is implemented using pure Java code rather than declarative XML. Thanks for your help Regards -- View this message in context: http

Re: fork & join pattern with Camel

2012-01-15 Thread Christian Müller
fork == split [1] join == aggregate [2] [1] http://camel.apache.org/splitter.html [2] http://camel.apache.org/aggregator2.html Best, Christian On Sun, Jan 15, 2012 at 11:11 AM, jmh wrote: > Hello, > > could you tell me what is the best way in Camel to implement the fork & > join > pattern (wai

[ANNOUNCEMENT] Apache Camel 2.7.5 released

2012-01-15 Thread Christian Müller
The Camel PMC is glad to announce the availability of Apache Camel 2.7.5. This release resolved 44 JIRA issues (mostly bugs) reported by users. The release is available to Download from Apache, and as well from Central Maven repo. For the release notes we sug

Re: What's best practice for running Camel 2.9.0 in JBOSS 5.X

2012-01-15 Thread Willem Jiang
Hi, I think you can consider to use the camel-vm component[1] to communication with your other components across the war without introducing other transport. [1]http://camel.apache.org/vm.html On 1/12/12 10:29 AM, gsilverman wrote: I want to run a camel route in a JBOSS 5.X instance in order

Re: how to improve concurrent performance use cxf in Camel?

2012-01-15 Thread Willem Jiang
Basically, you don't need to any thing. Most CXF transport has the thread pool to support the concurrent service for the client. On Mon Jan 9 22:55:17 2012, xiangqiuzhao wrote: like the concurrent pool size? or others options? -- View this message in context: http://camel.465427.n5.nabble.c

Re: (FTP) DefaultScheduledPollConsumer: Converts a polling consumer into an event-driven consumer instance.

2012-01-15 Thread Willem Jiang
What kind of the event that you expect camel to fire for you? As the FTP service doesn't provide this kind of service for us, we still need to poll the FTP server from time to time. On Wed Jan 11 00:44:15 2012, Raul wrote: Hello, I want to create a custom component (Component, EndPoint, Cons

Re: in netty.why sended 6bytes, but server recved 9bytes

2012-01-15 Thread Willem Jiang
Hi, You can put the encoding information on Exchange like this exchange.setProperty(Exchange.CHARSET_NAME, “UTF_8”); On 1/9/12 8:58 PM, xiangqiuzhao wrote: my Encoder: protected Object encode( ChannelHandlerContext ctx, Channel channel, Object msg) throws Exception { if (

Re: route between imap connector and activemq connector, no body

2012-01-15 Thread Nicolas Gapaillard
Hi, Thank you for your answer I will try all your suggestions. 2012/1/13 Raul Kripalani > Hi > > Try explicitly converting the body to a String by using type="String" />. > > Having said that it looks like the content of your mail message is not > simple text (i.e. mime type is not text/pla

Re: route between imap connector and activemq connector, no body

2012-01-15 Thread Nicolas Gapaillard
Hi, I followed your advices and now it works: In first I tried to force to convert the body: . but it doesn't work because the message is of type MultiPart. So I took a look of the source code of camel in order to know how the body in mail was setted and I saw the real body is included inside