I would like to know if someone can tell me how to inject an own implementation of ReactiveMongoApi
into one specific controller.
class MyController @Inject() (val reactiveMongoApi: ReactiveMongoApi, val messagesApi: MessagesApi...) extends Controller ...
As far as I'm come I don't really get it, how to inject MyOwnReactiveMongoApi
into MyController
and only MyController
. All other controllers should continue to use the default implementation.
I'm currently using: PlayFramework 2.4.2 and ReactiveMongo 0.11.6.play24