Re: Exception when trying to create a route including jdbc:sqlserver

2013-08-22 Thread lassesvestergaard
Great! That worked, thanks. -- View this message in context: http://camel.465427.n5.nabble.com/Exception-when-trying-to-create-a-route-including-jdbc-sqlserver-tp5737657p5737749.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Exception when trying to create a route including jdbc:sqlserver

2013-08-21 Thread Dale King
You are providing a connection object, but it needs a DataSource object. See here for an example of using DataSource with SQLServer and bind to the data source instead of the connection: http://technet.microsoft.com/en-us/library/aa342342.aspx

Exception when trying to create a route including jdbc:sqlserver

2013-08-21 Thread lassesvestergaard
Hi all. I'm having a problem when trying to create a route where I get data from a microsoft sql server. My problem seems to be that the route want an other bean than I provide ( Found bean com.microsoft.sqlserver.jdbc.SQLServerConnection expected type was: interface javax.sql.DataSource). The sta