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 tog

Re: Updating datasource at runtime with camel-sql

2016-06-06 Thread yogu13
/Updating-datasource-at-runtime-with-camel-sql-tp5783374p5783527.html Sent from the Camel - Users mailing list archive at Nabble.com.

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

Updating datasource at runtime with camel-sql

2016-06-01 Thread Atsushi Matsumoto
Hi, Is it possible to update datasource that SqlComponent refers to at runtime? The datasource I want to update is bound to "TestDB" by registry in CamelContext as follows: BasicDataSource datasource = new BasicDataSource(); datasource.setUrl("jdbc:mysql://hostname/dbname?user=user&password=pas