Hi, What is purpose of these line that was commented out in file C:\servicemix\servicemix-3.0\conf\activemq.xml :
<!-- MySql DataSource Sample Setup using the Commons DBCP pooler (http://jakarta.apache.org/commons/dbcp/) --> <!-- <bean id="mysql-ds" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> <property name="driverClassName" value="com.mysql.jdbc.Driver"/> <property name="url" value="jdbc:mysql://localhost/activemq"/> <property name="username" value="activemq"/> <property name="password" value="activemq"/> <property name="poolPreparedStatements" value="true"/> </bean> --> <!-- MySql DataSource Sample Setup using the c3p0 pooler (http://sf.net/projects/c3p0) --> <!-- <bean id="mysql-ds" class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close"> <property name="driverClass" value="com.mysql.jdbc.Driver"> <property name="jdbcUrl" value="jdbc:mysql://localhost:3306/activemq"> <property name="user" value="activemq"> <property name="password" value="activemq"> <property name="minPoolSize" value="5"> <property name="maxPoolSize" value="10"> <property name="acquireIncrement" value="3"> </bean> --> Should we use/set anything here to use a mySQL database (in loan-broker example) ? gnodet wrote: > > There is simple JDBC component available at > http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-components/src/main/java/org/apache/servicemix/components/jdbc/JdbcComponent.java?view=markup > > I guess it really depends on the use of your database, if you perform > SELECT only to aggregate complex data for example, or if you want > to use it to poll records in a table for further processing / deletion, > if you want to insert / update / delete data ... > > On 10/5/06, zul <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> Need a guide/ example on using a database with servicemix (or with >> activemq). Is it currently feasible to do so ? >> >> -- SOS >> >> -- >> View this message in context: >> http://www.nabble.com/using-database-with-servicemix-tf2387285.html#a6655146 >> Sent from the ServiceMix - User mailing list archive at Nabble.com. >> >> > > > -- > Cheers, > Guillaume Nodet > > -- View this message in context: http://www.nabble.com/using-database-with-servicemix-tf2387285.html#a6675611 Sent from the ServiceMix - User mailing list archive at Nabble.com.
