why my Processor throw Exception but producer can't throw it

2011-09-19 Thread xiangqiuzhao
Producer producer = endpoint.createProducer(); producer.process(exchange); //throw an Exception return (Map)exchange.getOut().getBody(); //why run to here? my route defined from("direct://test").process(ProcesssA).to("myComponent://").process(ProcessB); if my ProcessA th

Re: package org.apache.camel.core.xml is not exported (OSGi) - using Camel 2.7.3

2011-09-19 Thread Willem Jiang
You can find the classes in the camel-spring or camel-blueprint. When your bundle is attached to the camel-spring, it can find what it need :) On Mon Sep 19 21:44:17 2011, Ioannis Canellos wrote: Maybe bundling your extension as fragment bundle could help? -- Willem ---

Re: NMR Thread Pool

2011-09-19 Thread Ɓukasz Dywicki
Hey Sergey, As far I know it is possible for JBI components by setting particular thread pool properties. For example servicemix-cxf-se by modifing org.apache.servicemix.components.cxfse configuration. But it is not possible for camel-nmr. Best regards, Lukasz > Hi all, > > I'm wondering whet

RE: Propertyplaceholder location

2011-09-19 Thread jdpatil
But how can I use that system property to change the location dynamically. I think in camel 2.7 we can specify the system property but I am using 2.5. Thank you. From: Claus Ibsen-2 [via Camel] [mailto:ml-node+s465427n4811025...@n5.nabble.com] Sent: Friday, September 16, 2011 10:18 AM To: Jaya

NMR Thread Pool

2011-09-19 Thread Zhemzhitsky Sergey
Hi all, I'm wondering whether it is possible to tune the NMR thread pool in camel? The reason is I would like to configure nmr consumer to use, for example, 20 threads. Is it possible to achieve? Best Regards, Sergey Zhemzhitsky ___ The infor

Re: package org.apache.camel.core.xml is not exported (OSGi) - using Camel 2.7.3

2011-09-19 Thread Ioannis Canellos
Maybe bundling your extension as fragment bundle could help? -- *Ioannis Canellos* * FuseSource ** Blog: http://iocanel.blogspot.com ** Apache Karaf Committer & PMC Apache ServiceMix Committer Apache Gora

package org.apache.camel.core.xml is not exported (OSGi) - using Camel 2.7.3

2011-09-19 Thread Stefan Eder
Hi, I am currently developing an EDIFACT extension for Camel, that parses EDIFACT header information and provides them for further routing. It contributes DataFormat, TypeConverter and an extension to the Camel SimpleLanguage. All works very nice and seamless (junit tests) unless it is used in