Package org.openwms.tms.app
Class TransportationAsyncConfiguration
java.lang.Object
org.openwms.tms.app.TransportationAsyncConfiguration
@Profile("ASYNCHRONOUS")
@Configuration
@EnableRabbit
class TransportationAsyncConfiguration
extends Object
A TransportationAsyncConfiguration.
- Author:
- Heiko Scherrer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) org.springframework.amqp.core.Binding
commonCommandsBinding
(org.springframework.amqp.core.TopicExchange commonCommandsExchange, org.springframework.amqp.core.Queue commonCommandsQueue, String routingKey) (package private) org.springframework.amqp.core.TopicExchange
commonCommandsExchange
(String exchangeName) (package private) org.springframework.amqp.core.Queue
commonCommandsQueue
(String queueName, String exchangeName) (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
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, org.ameba.amqp.RabbitTemplateConfigurable rabbitTemplateConfigurable) (package private) org.springframework.amqp.support.converter.MessageConverter
(package private) org.springframework.amqp.core.Binding
tmsCommandsBinding
(org.springframework.amqp.core.TopicExchange tmsCommandsExchange, org.springframework.amqp.core.Queue tmsCommandsQueue, String routingKey) (package private) org.springframework.amqp.core.TopicExchange
tmsCommandsExchange
(String exchangeName) (package private) org.springframework.amqp.core.Queue
tmsCommandsQueue
(String queueName, String exchangeName) (package private) org.springframework.amqp.core.TopicExchange
tmsExchange
(String exchangeName) (package private) org.springframework.amqp.core.Binding
tmsRequestsBinding
(org.springframework.amqp.core.TopicExchange tmsRequestsExchange, org.springframework.amqp.core.Queue tmsRequestsQueue, String routingKey) (package private) org.springframework.amqp.core.TopicExchange
tmsRequestsExchange
(String exchangeName) (package private) org.springframework.amqp.core.Queue
tmsRequestsQueue
(String queueName, String exchangeName)
-
Field Details
-
BOOT_LOGGER
private static final org.slf4j.Logger BOOT_LOGGER
-
-
Constructor Details
-
TransportationAsyncConfiguration
TransportationAsyncConfiguration()
-
-
Method Details
-
messageConverter
@ConditionalOnExpression("\'${owms.transportation.serialization}\'==\'json\'") @Bean org.springframework.amqp.support.converter.MessageConverter messageConverter() -
serializerMessageConverter
@ConditionalOnExpression("\'${owms.transportation.serialization}\'==\'barray\'") @Bean org.springframework.amqp.support.converter.MessageConverter serializerMessageConverter() -
rabbitTemplate
@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) -
tmsExchange
@Bean org.springframework.amqp.core.TopicExchange tmsExchange(@Value("${owms.events.tms.to.exchange-name}") String exchangeName) -
dlExchange
@Bean org.springframework.amqp.core.DirectExchange dlExchange(@Value("${owms.transportation.dead-letter.exchange-name}") String exchangeName) -
dlq
@Bean org.springframework.amqp.core.Queue dlq(@Value("${owms.transportation.dead-letter.queue-name}") String queueName) -
dlBinding
-
commonCommandsExchange
@Bean org.springframework.amqp.core.TopicExchange commonCommandsExchange(@Value("${owms.commands.common.tu.exchange-name}") String exchangeName) -
commonCommandsQueue
-
commonCommandsBinding
@Bean org.springframework.amqp.core.Binding commonCommandsBinding(org.springframework.amqp.core.TopicExchange commonCommandsExchange, org.springframework.amqp.core.Queue commonCommandsQueue, @Value("${owms.commands.common.tu.routing-key}") String routingKey) -
tmsCommandsExchange
@Bean org.springframework.amqp.core.TopicExchange tmsCommandsExchange(@Value("${owms.commands.tms.to.exchange-name}") String exchangeName) -
tmsCommandsQueue
-
tmsCommandsBinding
@Bean org.springframework.amqp.core.Binding tmsCommandsBinding(org.springframework.amqp.core.TopicExchange tmsCommandsExchange, org.springframework.amqp.core.Queue tmsCommandsQueue, @Value("${owms.commands.tms.to.routing-key}") String routingKey) -
tmsRequestsExchange
@Bean org.springframework.amqp.core.TopicExchange tmsRequestsExchange(@Value("${owms.requests.tms.to.exchange-name}") String exchangeName) -
tmsRequestsQueue
-
tmsRequestsBinding
@Bean org.springframework.amqp.core.Binding tmsRequestsBinding(org.springframework.amqp.core.TopicExchange tmsRequestsExchange, org.springframework.amqp.core.Queue tmsRequestsQueue, @Value("${owms.requests.tms.to.routing-key}") String routingKey)
-