Inject bean- and message queue manager in multithreaded application