Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="
- http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
- http://camel.apache.org/schema/blueprint http://camel.apache.org/schema/blueprint/camel-blueprint.xsd">
- <bean id="dataSourceMySQL" class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource">
- <property name="url" value="jdbc:mysql://127.0.0.1/test_db1" />
- <property name="user" value="root" />
- <property name="password" value="" />
- </bean>
- <service interface="javax.sql.DataSource" ref="dataSourceMySQL">
- <service-properties>
- <entry key="osgi.jndi.service.name" value="jdbc/mysql" />
- </service-properties>
- </service>
- </blueprint>
Add Comment
Please, Sign In to add comment