You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by penny506 <ke...@gmail.com> on 2012/11/10 08:21:00 UTC
Re: ActiveMQ + SQL Server
I'm using 5.7 and this works by referencing the dataSource using an initial
Pound sign as such:
<persistenceAdapter>
<jdbcPersistenceAdapter dataDirectory="../activemq-data"
dataSource="#mssql-ds" createTablesOnStartup="true" useDatabaseLock="false">
<adapter><imageBasedJDBCAdaptor/></adapter>
</jdbcPersistenceAdapter>
</persistenceAdapter>
Then out in the bean declaration you reference it by the name you gave it
<bean id="mssql-ds" class="org.apache.commons.dbcp.BasicDataSource"
destroy-method="close">
--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-SQL-Server-tp2343534p4659152.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.