Guest User

Untitled

a guest
Jul 22nd, 2016
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.84 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
  3.     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4.     xsi:schemaLocation="
  5.       http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
  6.       http://camel.apache.org/schema/blueprint http://camel.apache.org/schema/blueprint/camel-blueprint.xsd">
  7.  
  8.     <bean id="dataSourceMySQL" class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource">
  9.         <property name="url" value="jdbc:mysql://127.0.0.1/test_db1" />
  10.         <property name="user" value="root" />
  11.         <property name="password" value="" />
  12.     </bean>
  13.  
  14.     <service interface="javax.sql.DataSource" ref="dataSourceMySQL">
  15.         <service-properties>
  16.             <entry key="osgi.jndi.service.name" value="jdbc/mysql" />
  17.         </service-properties>
  18.     </service>
  19.  
  20. </blueprint>
Add Comment
Please, Sign In to add comment