title: How to set a specific DataSource for a Repository?
body: <p>Is it possible to assign a specific <code>DataSource</code> to a <code>@Repository</code>?</p>
  
  <p>I'd like to create a test environment where in general I want to use the test-datasource, but a few <code>CrudRepository</code> should operate on a different DB (the production DB; read-only operations).</p>
  
  <p>Can I tell spring which datasource to use for a repository explicit?</p>
  
  <p><code>public interface MyRepository extends CrudRepository&lt;Customer, Long&gt; {}</code></p>