Package org.openwms.core.preferences.app
Class PreferencesAsyncConfiguration
java.lang.Object
org.openwms.core.preferences.app.PreferencesAsyncConfiguration
@Profile("ASYNCHRONOUS")
@RefreshScope
@EnableRabbit
@Configuration
public class PreferencesAsyncConfiguration
extends Object
A PreferencesAsyncConfiguration contains the microservice' asynchronous configuration that is activated on Spring Profile
 
SpringProfiles.ASYNCHRONOUS_PROFILE.- Author:
- Heiko Scherrer
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription(package private) org.springframework.retry.interceptor.StatefulRetryOperationsInterceptor(package private) org.springframework.amqp.core.TopicExchangelgExchange(String exchangeName) (package private) org.springframework.amqp.support.converter.MessageConverterorg.springframework.amqp.rabbit.core.RabbitTemplaterabbitTemplate(org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory, org.springframework.beans.factory.ObjectProvider<org.springframework.amqp.support.converter.MessageConverter> messageConverter, org.ameba.amqp.RabbitTemplateConfigurable rabbitTemplateConfigurable) (package private) org.springframework.amqp.support.converter.MessageConverter
- 
Field Details- 
BOOT_LOGGERprivate static final org.slf4j.Logger BOOT_LOGGER
 
- 
- 
Constructor Details- 
PreferencesAsyncConfigurationpublic PreferencesAsyncConfiguration()
 
- 
- 
Method Details- 
messageConverter@RefreshScope @ConditionalOnExpression("\'${owms.preferences.serialization}\'==\'json\'") @Bean org.springframework.amqp.support.converter.MessageConverter messageConverter()
- 
serializerMessageConverter@RefreshScope @ConditionalOnExpression("\'${owms.preferences.serialization}\'==\'barray\'") @Bean org.springframework.amqp.support.converter.MessageConverter serializerMessageConverter()
- 
interceptor@Bean org.springframework.retry.interceptor.StatefulRetryOperationsInterceptor interceptor()
- 
rabbitTemplate@RefreshScope @Primary @Bean(name="amqpTemplate") public org.springframework.amqp.rabbit.core.RabbitTemplate rabbitTemplate(org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory, org.springframework.beans.factory.ObjectProvider<org.springframework.amqp.support.converter.MessageConverter> messageConverter, @Autowired(required=false) org.ameba.amqp.RabbitTemplateConfigurable rabbitTemplateConfigurable) 
- 
lgExchange@RefreshScope @Bean org.springframework.amqp.core.TopicExchange lgExchange(@Value("${owms.events.core.preferences.exchange-name}") String exchangeName) 
 
-