Package org.openwms.common.tasks.app
Class TaskAsyncConfiguration
java.lang.Object
org.openwms.common.tasks.app.TaskAsyncConfiguration
A InventoryAsyncConfiguration is activated when the service uses asynchronous communication to access other services.
- Author:
- Heiko Scherrer
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
private static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) org.springframework.amqp.core.Binding
(package private) org.springframework.amqp.core.DirectExchange
dlExchange
(String exchangeName) (package private) org.springframework.amqp.core.Queue
(package private) org.springframework.amqp.support.converter.MessageConverter
(package private) org.springframework.amqp.rabbit.core.RabbitTemplate
rabbitTemplate
(org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory, org.springframework.amqp.support.converter.MessageConverter messageConverter) (package private) org.springframework.amqp.support.converter.MessageConverter
(package private) org.springframework.amqp.core.TopicExchange
taskExchange
(String exchangeName)
-
Field Details
-
BOOT_LOGGER
private static final org.slf4j.Logger BOOT_LOGGER -
POISON_MESSAGE
- See Also:
-
-
Constructor Details
-
TaskAsyncConfiguration
TaskAsyncConfiguration()
-
-
Method Details
-
messageConverter
@ConditionalOnExpression("\'${owms.tasks.serialization}\'==\'json\'") @Bean org.springframework.amqp.support.converter.MessageConverter messageConverter() -
serializerMessageConverter
@ConditionalOnExpression("\'${owms.tasks.serialization}\'==\'barray\'") @Bean org.springframework.amqp.support.converter.MessageConverter serializerMessageConverter() -
rabbitTemplate
@Bean org.springframework.amqp.rabbit.core.RabbitTemplate rabbitTemplate(org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory, org.springframework.amqp.support.converter.MessageConverter messageConverter) -
taskExchange
@Bean org.springframework.amqp.core.TopicExchange taskExchange(@Value("${owms.tasks.exchange-name}") String exchangeName) -
dlExchange
@Bean org.springframework.amqp.core.DirectExchange dlExchange(@Value("${owms.dead-letter.exchange-name}") String exchangeName) -
dlq
@Bean org.springframework.amqp.core.Queue dlq(@Value("${owms.dead-letter.queue-name}") String queueName) -
dlBinding
-