Re: Updating datasource at runtime with camel-sql

2016-06-12 Thread Atsushi Matsumoto
http://camel.465427.n5.nabble.com/Updating-datasource-at-runtime-with-camel-sql-td5783374.html Thank you for all your kind support. I confirmed that the following method worked fine for me and I decided to use it. > you can think of wrapping your datasource which would contain the toggle >

Re: Updating datasource at runtime with camel-sql

2016-06-06 Thread yogu13
you can think of wrapping your datasource which would contain the toggle logic based on your conditions and delegate the call to actual datasource. the SQL component would get an instance of your datasource. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/U

RE: Updating datasource at runtime with camel-sql

2016-06-06 Thread kamesh.sampath
am looking forward to your future support as well. > -Original Message- > From: Quinn Stevenson [mailto:qu...@pronoia-solutions.com] > Sent: Friday, June 03, 2016 12:12 AM > To: users@camel.apache.org > Cc: 福田 奏 > Subject: Re: Updating datasource at runtime with camel-sql

RE: Updating datasource at runtime with camel-sql

2016-06-06 Thread Atsushi Matsumoto
t; To: users@camel.apache.org > Cc: 福田 奏 > Subject: Re: Updating datasource at runtime with camel-sql > > If you’re willing to use camel-scr or camel-blueprint, you can make this > happen pretty easily. > > You’d expose the data source as a service, and then inject it into the

Re: Updating datasource at runtime with camel-sql

2016-06-02 Thread Quinn Stevenson
If you’re willing to use camel-scr or camel-blueprint, you can make this happen pretty easily. You’d expose the data source as a service, and then inject it into the route - the exact method would change based on whether you’re using camel-scr or camel-blueprint. If you’re using camel-scr, whe