[ANNOUNCEMENT] Apache Camel 2.15.5 Released

2015-11-30 Thread Gregor Zurowski
The Camel community announces the immediate availability of the new patch release Camel 2.15.5. This release contains 19 fixes applied in the past few weeks by the community on the Camel 2.15.x maintenance branch. This release also updates the Apache Commons Collections library to version 3.2.2 [1]

How to obtain Exchange object in TypeConverter?

2015-11-30 Thread dominic.mic...@kaufhof.de
Hi. I'm using Camel 2.16.0 and wrote a TypeConverter which expects the Exchange Object as a second method parameter, as described in http://camel.apache.org/type-converter.html#TypeConverter-Exchangeparameter However, the Exchange Parameter is received as null because when calling camelContext.get

Camel - Spock test cases

2015-11-30 Thread contactreji
Hi friends I am trying to write few test cases using spock. My Aim here is to start the routes in a class which extends RouteBuilder class and it has few camel routes in the configure() method. I use groovy dsl and gradle as build tool. My spock test cases look like follows :- * package unittes

CSV marshaller problem - accumulating columns

2015-11-30 Thread ftoresan
Hi, I have a route that exports data from a database to a csv file, and is reused across several tables. The problem is that the CsvMarshaller always adds up to its column list all the columns of the record being marshalled. It's probably the same issue being reported here

Re: Camel JMSConsumer creating lots of ActiveMQ Session Task

2015-11-30 Thread vsk
Yes. The connections are pooled. PooledConnectionFactory pooled = new PooledConnectionFactory(coreConnectionFactory); pooled.setMaxConnections(2); pooled.setMaximumActiveSessionPerConnection(3); component.setUsePooledConnection(true);

camel-servlet is no-longer working in 2.16.1 (works in 2.15.3 and 2.16.0)

2015-11-30 Thread MEL
I am using the camel-servlet component, in an app hosted in tomcat, to trigger a route via a URL such as this http://localhost:9090/appcontext/triggerimport/ When upgrading to 2.16.1 the URL fails to trigger the route; the URL works if I downgrade to 2.15.3 or 2.16.0 (looks like CAMEL-9263 may h

Re: camel cache configurationFile

2015-11-30 Thread ncasaux
I just noticed something I can't understand: In my bean, I have also this piece of code for monitoring my cache configuration: During my bundle start, I can see in the logs: 2015-11-30 11:16:01,486 | WARN | xtenderThread-30 | ConfigurationFactory

Re: camel cache configurationFile

2015-11-30 Thread Minh Tran
Is there an exception/stacktrace with the error? That might give you a clue as to what the problem is. The only thing I can think of is perhaps your ehcache.xml doesn’t contain the TestCache2 region defined in there. > On 30 Nov 2015, at 8:06 PM, ncasaux wrote: > > Thanks for your suggestion.

Re: camel cache configurationFile

2015-11-30 Thread ncasaux
Thanks for your suggestion. However, I did as you recommand : but I still get the "No configuration found" when I update the bundle. -- View this message in context: http://camel.465427.n5.nabble.com/camel-cache-configurationFile-tp5774492p5774552.html Sent from the Camel - Users

Re: camel cache configurationFile

2015-11-30 Thread Minh Tran
Hi That TestCache2 in your uri is not the name of the bean, it’s the name of the cache. The easiest way to fix your problem is to set the id your spring bean from “TestCache2" to “cache” in your xml earlier > On 30 Nov 2015, at 7:32 PM, ncasaux wrote: > > Hello, > > In my route, I'm using

Re: camel cache configurationFile

2015-11-30 Thread ncasaux
Hello, In my route, I'm using this URI, which seems OK with the bean to me: .to("cache://TestCache2") -- View this message in context: http://camel.465427.n5.nabble.com/camel-cache-configurationFile-tp5774492p5774549.html Sent from the Camel - Users mailing list archive at Nabble.com.