Enable messaging through Spring profile as "activeMqEnabled" (FINERACT-1193)
This commit is contained in:
committed by
Michael Vorburger ⛑️
parent
02408f9165
commit
704d73dd3e
+2
@@ -27,12 +27,14 @@ import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.Profile;
|
||||
import org.springframework.core.env.Environment;
|
||||
import org.springframework.jms.connection.CachingConnectionFactory;
|
||||
import org.springframework.jms.core.JmsTemplate;
|
||||
import org.springframework.jms.listener.DefaultMessageListenerContainer;
|
||||
|
||||
@Configuration
|
||||
@Profile("activeMqEnabled")
|
||||
public class MessagingConfiguration {
|
||||
|
||||
@Autowired
|
||||
|
||||
Reference in New Issue
Block a user