Enable messaging through Spring profile as "activeMqEnabled" (FINERACT-1193)

This commit is contained in:
Vincent FUCHS
2020-10-13 21:12:58 +02:00
committed by Michael Vorburger ⛑️
parent 02408f9165
commit 704d73dd3e
2 changed files with 7 additions and 0 deletions
@@ -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