Package org.openwms.wms.app
Class InventoryAsyncConfiguration
java.lang.Object
org.openwms.wms.app.InventoryAsyncConfiguration
@Profile("ASYNCHRONOUS")
@Configuration
@RefreshScope
@EnableRabbit
class InventoryAsyncConfiguration
extends Object
A InventoryAsyncConfiguration is activated when the service uses asynchronous communication to access other services.
- Author:
- Heiko Scherrer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) org.springframework.amqp.core.TopicExchangecommonLgExchange(String exchangeName) (package private) org.springframework.amqp.core.TopicExchangecommonTuCommandsExchange(String exchangeName) (package private) org.springframework.amqp.core.Binding(package private) org.springframework.amqp.core.DirectExchangedlExchange(String exchangeName) (package private) org.springframework.amqp.core.Queue(package private) org.springframework.amqp.core.QueueeventsLgQueue(String queueName, String exchangeName) (package private) org.springframework.amqp.core.DirectExchangeinventoryCommandsExchange(String exchangeName) (package private) org.springframework.amqp.core.TopicExchangeinventoryExchange(String exchangeName) (package private) org.springframework.amqp.core.BindinglgBinding(org.springframework.amqp.core.TopicExchange commonLgExchange, org.springframework.amqp.core.Queue eventsLgQueue, String routingKey) (package private) org.springframework.amqp.support.converter.MessageConverter(package private) org.springframework.amqp.core.BindingmovementBinding(org.springframework.amqp.core.TopicExchange movementExchange, org.springframework.amqp.core.Queue movementQueue, String routingKey) (package private) org.springframework.amqp.core.TopicExchangemovementExchange(String exchangeName) (package private) org.springframework.amqp.core.QueuemovementQueue(String queueName, String exchangeName) (package private) org.springframework.amqp.core.BindingpuCommandsBinding(org.springframework.amqp.core.DirectExchange inventoryCommandsExchange, org.springframework.amqp.core.Queue puCommandsQueue, String routingKey) (package private) org.springframework.amqp.core.QueuepuCommandsQueue(String queueName, String exchangeName) org.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(package private) org.springframework.amqp.core.TopicExchangeshippingExchange(String exchangeName) (package private) org.springframework.amqp.core.QueueshippingSplitQueue(String queueName, String exchangeName) (package private) org.springframework.amqp.core.BindingsplitBinding(org.springframework.amqp.core.TopicExchange shippingExchange, org.springframework.amqp.core.Queue shippingSplitQueue, String routingKey) (package private) org.springframework.amqp.core.BindingtuBinding(org.springframework.amqp.core.TopicExchange tuExchange, org.springframework.amqp.core.Queue tuQueue, String routingKey) (package private) org.springframework.amqp.core.BindingtuCommandsBinding(org.springframework.amqp.core.TopicExchange commonTuCommandsExchange, org.springframework.amqp.core.Queue tuCommandsQueue, String routingKey) (package private) org.springframework.amqp.core.QueuetuCommandsQueue(String queueName, String exchangeName) (package private) org.springframework.amqp.core.TopicExchangetuExchange(String exchangeName) (package private) org.springframework.amqp.core.Queue
-
Field Details
-
BOOT_LOGGER
private static final org.slf4j.Logger BOOT_LOGGER -
X_DEAD_LETTER_EXCHANGE
- See Also:
-
X_DEAD_LETTER_ROUTING_KEY
- See Also:
-
POISON_MESSAGE
- See Also:
-
-
Constructor Details
-
InventoryAsyncConfiguration
InventoryAsyncConfiguration()
-
-
Method Details
-
messageConverter
@ConditionalOnExpression("\'${owms.inventory.serialization}\'==\'json\'") @Bean org.springframework.amqp.support.converter.MessageConverter messageConverter() -
serializerMessageConverter
@ConditionalOnExpression("\'${owms.inventory.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) -
inventoryExchange
@RefreshScope @Bean org.springframework.amqp.core.TopicExchange inventoryExchange(@Value("${owms.events.inventory.exchange-name}") String exchangeName) -
tuExchange
@RefreshScope @Bean org.springframework.amqp.core.TopicExchange tuExchange(@Value("${owms.events.common.tu.exchange-name}") String exchangeName) -
commonLgExchange
@RefreshScope @Bean org.springframework.amqp.core.TopicExchange commonLgExchange(@Value("${owms.events.common.lg.exchange-name}") String exchangeName) -
commonTuCommandsExchange
@RefreshScope @Bean org.springframework.amqp.core.TopicExchange commonTuCommandsExchange(@Value("${owms.commands.common.tu.exchange-name}") String exchangeName) -
inventoryCommandsExchange
@RefreshScope @Bean org.springframework.amqp.core.DirectExchange inventoryCommandsExchange(@Value("${owms.commands.inventory.exchange-name}") String exchangeName) -
shippingExchange
@RefreshScope @Bean org.springframework.amqp.core.TopicExchange shippingExchange(@Value("${owms.events.shipping.exchange-name}") String exchangeName) -
movementExchange
@RefreshScope @Bean org.springframework.amqp.core.TopicExchange movementExchange(@Value("${owms.events.movement.exchange-name}") String exchangeName) -
tuQueue
-
eventsLgQueue
-
tuCommandsQueue
-
puCommandsQueue
-
shippingSplitQueue
-
movementQueue
-
tuBinding
@RefreshScope @Bean org.springframework.amqp.core.Binding tuBinding(@Qualifier("tuExchange") org.springframework.amqp.core.TopicExchange tuExchange, @Qualifier("tuQueue") org.springframework.amqp.core.Queue tuQueue, @Value("${owms.events.inventory.tu.routing-key}") String routingKey) -
lgBinding
@RefreshScope @Bean org.springframework.amqp.core.Binding lgBinding(@Qualifier("commonLgExchange") org.springframework.amqp.core.TopicExchange commonLgExchange, @Qualifier("eventsLgQueue") org.springframework.amqp.core.Queue eventsLgQueue, @Value("${owms.events.inventory.lg.routing-key}") String routingKey) -
tuCommandsBinding
@RefreshScope @Bean org.springframework.amqp.core.Binding tuCommandsBinding(@Qualifier("commonTuCommandsExchange") org.springframework.amqp.core.TopicExchange commonTuCommandsExchange, @Qualifier("tuCommandsQueue") org.springframework.amqp.core.Queue tuCommandsQueue, @Value("${owms.commands.inventory.tu.routing-key}") String routingKey) -
puCommandsBinding
@RefreshScope @Bean org.springframework.amqp.core.Binding puCommandsBinding(@Qualifier("inventoryCommandsExchange") org.springframework.amqp.core.DirectExchange inventoryCommandsExchange, @Qualifier("puCommandsQueue") org.springframework.amqp.core.Queue puCommandsQueue, @Value("${owms.commands.inventory.pu.routing-key}") String routingKey) -
splitBinding
@RefreshScope @Bean org.springframework.amqp.core.Binding splitBinding(@Qualifier("shippingExchange") org.springframework.amqp.core.TopicExchange shippingExchange, @Qualifier("shippingSplitQueue") org.springframework.amqp.core.Queue shippingSplitQueue, @Value("${owms.events.shipping.split.routing-key}") String routingKey) -
movementBinding
@RefreshScope @Bean org.springframework.amqp.core.Binding movementBinding(@Qualifier("movementExchange") org.springframework.amqp.core.TopicExchange movementExchange, @Qualifier("movementQueue") org.springframework.amqp.core.Queue movementQueue, @Value("${owms.events.movement.routing-key}") String routingKey) -
dlExchange
@RefreshScope @Bean org.springframework.amqp.core.DirectExchange dlExchange(@Value("${owms.dead-letter.exchange-name}") String exchangeName) -
dlQueue
@RefreshScope @Bean org.springframework.amqp.core.Queue dlQueue(@Value("${owms.dead-letter.queue-name}") String queueName) -
dlBinding
-