Re: Camel route programmatically skipping

2017-01-31 Thread fabryprog
controlbus is good but i am thinking any trasparent solution. My idea was use camel servlet listener http://camel.apache.org/servletlistener-component.html Using servlet listener, (aka hot deploy) all route definitions worked but all rest definitions was broke! (is it a bug?)! -- View this me

Re: Camel route programmatically skipping

2017-01-31 Thread Claus Ibsen
See control bus EIP pattern http://camel.apache.org/controlbus.html You can then set all the routes to not autostart, and then upon startup you run your initialization logic that reads from the database which routes to start using the control bus On Tue, Jan 31, 2017 at 3:07 PM, fabryprog wrote:

Camel route programmatically skipping

2017-01-31 Thread fabryprog
Hello, I am using camel 2.18 with spring xml application context and i have a database table with follow settings routeId | phase route1 | installation route2 | standard route3 | installation Into my example, on installation phase i would start only route1, route3 and skip route2. How can do i

Re: Urgent - Endpoint wsdl XSD's are stored in heap memory

2017-01-31 Thread Daniel Kulp
> On Jan 31, 2017, at 1:58 AM, sari.reach wrote: > > My wsdls contain xsd's which are of 1MB size, All these xsd's are loaded in > memory when context is loaded for the first time. I don't want these xsd's > to be loaded in memory. Please let me know how to stop this You can’t. CXF uses the X

Re: Camel Aggregator - Partial Data written to file

2017-01-31 Thread sa_james
Do your logs report multiple threads writing to the file? Did u try with a single thread? something along the line of: from("file:APIDataSamples?noop=true&maxMessagesPerPoll=1").threads(1,1)... - Guile Newbie -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Aggre