Matteo Redaelli

Computer Science OpenSource Linux Africa Volontariato Ambiente Energia solare Mezzi Pubblici Piste ciclabili

Howto sharing (osgi style) a database connection in Servicemix4 / FuseEsb4 7 Jun 2009

Filed under: Me — Matteo @ 13:58
Tags: ,

See newer post at

<?xml version=”1.0″ encoding=”UTF-8″?>
<beans xmlns=”;

<bean id=”moodleDS”>
<property name=”driverClassName” value=”com.mysql.jdbc.Driver” />
<property name=”url”
value=”jdbc:mysql://localhost:3306/moodle” />
<property name=”username” value=”root” />
<property name=”password” value=”” />

<osgi:service id=”moodleDSOsgiService” ref=”moodleDS” interface=”javax.sql.DataSource” />


See my Google Document for details!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s