Re: Camel-Maven-Plugin, Felix.Connect, and configAdminFileName

2016-11-09 Thread Ryan Colwell
Grzegorz -- I did find your post in my travels. Thank you for putting it together it is very informative and helpful. In this example: Do you just typically set your defaults to your local settings and skip providing it via a file? I think refere

Re: Camel-Maven-Plugin, Felix.Connect, and configAdminFileName

2016-11-09 Thread Grzegorz Grzybek
Hello I've described how placeholders, camel-test-blueprint and configadmin works here: http://ggrzybek.blogspot.com/2015/12/camel-blueprint-test-support.html I hope you'll find something interesting there. If something's confusing, please let me know. regards Grzegorz Grzybek 2016-11-09 22:09 G

Re: Camel-Maven-Plugin, Felix.Connect, and configAdminFileName

2016-11-09 Thread Ryan Colwell
Is anyone actively using propertyplaceholders with a version of camel-test-blueprint later than 2.15.2 from a configuration file for local development with camel:run? If so could you describe your setup or link a project for reference. I've started looking through the camel-test-blueprint plugin s

Re: camel-mail: Body ends up as attachment instead of e-mail body in multipart mail.

2016-11-09 Thread Claus Ibsen
Not sure what Camel version you use, but tell us, and try test with newer release. On Wed, Nov 9, 2016 at 10:44 AM, Andreas A. wrote: > I'm trying to send an e-mail with a subject, body and attached file. The > subject and attached file works fine. However when I make an attachment, the > body of

Re: wiretap + sampler = potentially lost exchanges?

2016-11-09 Thread Claus Ibsen
No the sample does not stop routing it only just pick X out of Y and route that in the sample After the wire tap is done it will continue in the original route. However if you dont want this synchronous to happen you can configure wire tap how you want it to do if the queue is full, such as rejec

Re: How to convert property value to array

2016-11-09 Thread Claus Ibsen
You need to put the groovy script as a String value. Its not compiled together with the java code. You can try with the simple language to use the split method on a string eg .simple("${properties:cool.foo.split(',')}") As java.lang.String has the split method out of the box, that Camel simple l

Re: How to convert property value to array

2016-11-09 Thread imranrazakhan
i tried but below is not working // route from("direct:start") .setHeader("myList").groovy( simple(" ${properties:cool.foo} ") ).toString().split(",") ) .log("cid "+simple("${header.myList.size}")) .to("direct:end"}"); i even tried below but groovy complain that .setHeader("c

Re: Is it possible to get small Camel early release with Kafka 0.10.1?

2016-11-09 Thread Claus Ibsen
You can just add the newer Karaf JARs on your classpath. A Camel release is not locked down to that exact release. Camel 2.18.1 will use 0.10.1 https://github.com/apache/camel/blob/camel-2.18.x/parent/pom.xml#L375 And there is another thread on @dev talking about the 2.18.1 release On Wed, Nov 9

Is it possible to get small Camel early release with Kafka 0.10.1?

2016-11-09 Thread habdank
Dears, Kafka team had made quite big step and released Kafka 0.10.1. There are made really many bug fixes. Is it possible to get small Camel early release with Kafka 0.10.1? If not, then when it is planned next Camel release? Best regards, Seweryn. -- View this message in context: http://ca

wiretap + sampler = potentially lost exchanges?

2016-11-09 Thread James Green
The thought occurred to me that I could use a wiretap on a route to send an exchange both to the original destination and to a route that logs what is happening. The "logger" route would start with a sampler to reduce the logging output. However, if the wiretap thread pool is full, wiretap would

Re: MetricsMessageHistoryFactory.java:138 Generate a NPE

2016-11-09 Thread PhilG
Done https://issues.apache.org/jira/browse/CAMEL-10460 with TestU + Patch. Let me know if it make sens. -- View this message in context: http://camel.465427.n5.nabble.com/MetricsMessageHistoryFactory-java-138-Generate-a-NPE-tp5789943p5789960.html Sent from the Camel - Users mailing list archiv

Netty4 TCP data rates, backlog, and new connections via worker threads?

2016-11-09 Thread Steve973
We have a context with a route where we consume UDP packets via netty4, then they traverse a number of routes via seda, and after processing, they ultimately get sent to a system via Netty 4 TCP. What we are experiencing is an increasing backlog where the messages are being sent to the Netty 4 TCP

Re: MetricsMessageHistoryFactory.java:138 Generate a NPE

2016-11-09 Thread Claus Ibsen
Hi Ah thanks for reporting. You are welcome to log a JIRA and provide a patch or better as a github PR. http://camel.apache.org/support.html On Wed, Nov 9, 2016 at 12:03 PM, PhilG wrote: > Hello Guys, > > I'm trying to play with Spring-boot camel and metrics to expose dashboard. > > Hawtio is a

MetricsMessageHistoryFactory.java:138 Generate a NPE

2016-11-09 Thread PhilG
Hello Guys, I'm trying to play with Spring-boot camel and metrics to expose dashboard. Hawtio is a great tools to check what it's going on at runtime but no persistence is done. We would like to persist statistics in prometheus by example. I configure camel context with MetricsMessageHistoryFact

camel-mail: Body ends up as attachment instead of e-mail body in multipart mail.

2016-11-09 Thread Andreas A.
I'm trying to send an e-mail with a subject, body and attached file. The subject and attached file works fine. However when I make an attachment, the body of the email ends up as an unnamed attachment in the final mail. Is this a bug in Camel or do I need to do something to make sure the Camel-bod

Re: How to convert property value to array

2016-11-09 Thread Claus Ibsen
Make a method call where you create that array or use dynamic languages like groovy with some inlined script. On Wed, Nov 9, 2016 at 5:42 AM, imranrazakhan wrote: > I tried following but it is not working as u expected > > // route > from("direct:start") > .setHeader("myList", simple(" ${pro