I am using tapestry spring integration.  I have three datasources defined in
my spring application context.  When I try to inject one of them I get an
error

"Service interface javax.sql.DataSource is matched by 3 services:
dataSourceAnalytics, dataSourceFirewall, dataSourceUser.  Automatic
dependency resolution requires that exactly one service implement the
interface."

java -

@Inject
private DataSource dataSourceFirewall; 

What is the syntax for asking tapestry to inject a particular datasource? 





--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Error-Injecting-Spring-Datasource-when-there-are-more-than-one-Datasources-tp5502662p5502662.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to