Logging issue when having multiple WAR files in one EAR

2016-06-13 Thread balaji ponnusamy
Hi All, I am having Ear file which has multiple WAR files inside and deployed in Web Logic 10.x server . Each WAR file is referring separate log properties. All spring , camel , hibernate, log4j and common –logging jars and other third party jars are copied in domain lib folder. I could see log

RE: please help with transformation of a response by xslt

2016-06-13 Thread dpravin
My route is very similar to the route what is being discussed on this thread and I too am facing same issues. I have tried all the options suggested, however nothing works. Did anyone fixed this problem in their route. Appreciate any inputs. Thanks, Pravin -- View this message in context:

Re: HELP Camel Splitter Question - thanks in advance

2016-06-13 Thread souciance
cool, glad it helped ;) On Mon, Jun 13, 2016 at 10:45 PM, Gary [via Camel] < ml-node+s465427n5783984...@n5.nabble.com> wrote: > that worked. thanks again really appreciate that. learn something new > everyday. I'm loving Camel. > > -- > If you reply to this email,

Re: HELP Camel Splitter Question - thanks in advance

2016-06-13 Thread Gary
that worked. thanks again really appreciate that. learn something new everyday. I'm loving Camel. -- View this message in context: http://camel.465427.n5.nabble.com/HELP-Camel-Splitter-Question-thanks-in-advance-tp5783810p5783984.html Sent from the Camel - Users mailing list archive at

Re: Generic camel routes - multiple instances

2016-06-13 Thread souciance
Excellent, thanks the sample. That helps a lot! On Mon, Jun 13, 2016 at 7:55 PM, Quinn Stevenson [via Camel] < ml-node+s465427n5783979...@n5.nabble.com> wrote: > Here’s a very simple sample. > > Given a route builder: > > public class SimpleBuilder extends RouteBuilder { > String timerName =

Re: HELP Camel Splitter Question - thanks in advance

2016-06-13 Thread Gary
thanks I do appreciate your help. I will try this -- View this message in context: http://camel.465427.n5.nabble.com/HELP-Camel-Splitter-Question-thanks-in-advance-tp5783810p5783982.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel How to dequeue all messages accumulated every X minutes

2016-06-13 Thread Quinn Stevenson
I used something like this in the past for this. Note that I didn’t stop the route in between cycles - I just stopped the loop. return new RouteBuilder() { String routeId = "queue-processor"; int pollTimeout = 100; @Override public void configure() throws Exception {

[camel 2.17] limited performance (not more than 20 req/s)

2016-06-13 Thread Tarek Jarraya
Hi All, I face a performance issue with camel 2.17 running inside tomcat 7.0.65 I can not run more than 20 user per second (with gatling). Over 20 user/s, the response time increase drastically, the pool of tomcat thread is completely used (1000 threads), and also the JVM CPU usage. My

Re: Generic camel routes - multiple instances

2016-06-13 Thread Quinn Stevenson
Here’s a very simple sample. Given a route builder: public class SimpleBuilder extends RouteBuilder { String timerName = "simple-timer"; int timerPeriod = 5000; int timerDelay = 1000; @Override public void configure() throws Exception { fromF(

Re: How to stop a dynamic route

2016-06-13 Thread Quinn Stevenson
I haven’t tested this code, but something like this should do what you’re after from("file://source").routeId( "my-route") .filter( header("CamelBatchComplete").isEqualTo( true ) ) .toF( "controlbus://route?routeId=%s=%s", "my-route", "stop") .end(); Hope that helps >

Re: Onexception and try catch block in camel.

2016-06-13 Thread Quinn Stevenson
I’d suggest you read the “Error Handling” chapter in “Camel in Action” - it covers onException very well. For me, I use onException wherever possible - it allows me to use error handlers and exception policies which make my life much easier, and it separates the error handling logic from the

Re: Camel 2.17 supports kafka 0.10?

2016-06-13 Thread Andrea Cosentino
Camel 2.18 is already on kafka 0.10.x. You can take a look there. -- Andrea Cosentino -- Apache Camel PMC Member Apache Karaf Committer Apache Servicemix Committer Email: ancosen1...@yahoo.com Twitter: @oscerd2 Github: oscerd On Monday, June 13, 2016 4:34 PM,

Camel 2.17 supports kafka 0.10?

2016-06-13 Thread Vanshul . Chawla
Hello, Our org is planning to move to Kafka 0.10. We use Camel 2.17 with Kafka 0.9. Has anybody tried to migrate to Kafka 0.10 with Camel.? Vanshul

Using XML elements from the body in the log method

2016-06-13 Thread anilc7
Hi, I have a simple route as shown below. The body is an XML message and I would like to access couple of elements from this XML and use them in both the log entries. Is there any way to access this using xpath/xquery or any other way within the log method? I would like to access them directly

cxfbean, only providers but no features

2016-06-13 Thread arno
Hi, we are using camel and cxf for our REST services. The REST requests are routed over the camel servlet to several cxfbean endoints. Now we want to use Swagger for API documentation, but the problem is, swagger integration into CXF is done via Swagger2Feature

Re: Camel training

2016-06-13 Thread souciance
Hi, Yeah, but not the cheapest, especially for 1-2 days and it seemed they brought in consultants from Stockholm. Best Souciance On Mon, Jun 13, 2016 at 10:26 AM, Jan Matèrne (jhm) [via Camel] < ml-node+s465427n5783960...@n5.nabble.com> wrote: > > I was wondering and anyone knows of any good

AW: Camel training

2016-06-13 Thread jhm
> I was wondering and anyone knows of any good consulting companies in > the Copenhagen or south of Sweden area for Apache Camel. We are looking > at more advanced topics which are not covered by the documentation and > seeking 1-2 day workshop. If anyone has any experience with a company, >

Camel training

2016-06-13 Thread souciance
Hello, I was wondering and anyone knows of any good consulting companies in the Copenhagen or south of Sweden area for Apache Camel. We are looking at more advanced topics which are not covered by the documentation and seeking 1-2 day workshop. If anyone has any experience with a company, please