also consider using an osgi service for your pooling facotry and
blueprint (or declarative services) to grab the connection/pool
On Fri, Feb 28, 2014 at 2:18 PM, Christian Müller
wrote:
> This is an example how to configure a pooled data source which is injected
> into a transaction manager. You
This is an example how to configure a pooled data source which is injected
into a transaction manager. You have to inject it into a processor instead.
[1]
https://github.com/muellerc/camel-in-transaction/blob/master/src/test/resources/META-INF/spring/JdbcTransactionSampleTest-context.xml
Best,
C
Hi Christian
Can you give me the link of an example which illustrated injection of the
connection pool?
It will be helpful for me to understand in a better way.
Regards
Reji Mathews
--
View this message in context:
http://camel.465427.n5.nabble.com/JDBC-Connection-object-in-Camel-Processor-t
Hi Claus
I have installed the driver from the link
http://dev.mysql.com/downloads/connector/j/5.1.html
I am using windows platform. hence I used the driver available at the above
link.
I am still getting the same error. The driver doesn't seem to load.
Do we have anything else to check in the c
You need to install the JDBC driver first.
Then afterwards your own application.
On Wed, Feb 26, 2014 at 9:49 AM, contactreji wrote:
> Hi Claus
>
> I have modified my POM to look like
>
>
> org.apache.felix
> maven-bundle-p
Hi Claus
I have modified my POM to look like
org.apache.felix
maven-bundle-plugin
2.3.4
true
Hi
Try with
*
On Wed, Feb 26, 2014 at 7:26 AM, contactreji wrote:
> Hi Clause
>
> Thanks for your prompt help! :-)
>
> I followed your advice and did following changes in the POM file.
>
> *
> org.apache.felix
> maven-bundle
Hi Clause
Thanks for your prompt help! :-)
I followed your advice and did following changes in the POM file.
*
org.apache.felix
maven-bundle-plugin
2.3.4
true
Create/Configure a connection pool in Spring and inject this into your
Processor, which you should also create/configure in Spring.
Best,
Christian
Am 25.02.2014 07:48 schrieb "contactreji" :
> Hi
>
> I am trying to do a database operation inside a Processor class.
>
> I have a code
>
> *private
Hi
You can lookup a bean in the registry from exchange
Object myBean = exchange.getContext().getRegistry().lookup("someName");
When you use Class.forName("com.mysql.jdbc.Driver"); in OSGi then you
need to have com.mysql.jdbc in your import package in the MANIFEST.MF
file, for it to work in OS
10 matches
Mail list logo