Class InventoryMessageListener
java.lang.Object
org.openwms.wms.receiving.inventory.events.InventoryMessageListener
A InventoryMessageListener is a Spring managed bean, active in profile ASYNCHRONOUS that listens on Product changes.
- Author:
- Heiko Scherrer
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
private final ProductMapper
private final org.springframework.context.ApplicationEventPublisher
-
Constructor Summary
ConstructorDescriptionInventoryMessageListener
(org.springframework.context.ApplicationEventPublisher publisher, ProductMapper mapper) -
Method Summary
Modifier and TypeMethodDescription(package private) void
handle
(InventoryProductMO msg, String header)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
publisher
private final org.springframework.context.ApplicationEventPublisher publisher -
mapper
-
-
Constructor Details
-
InventoryMessageListener
public InventoryMessageListener(org.springframework.context.ApplicationEventPublisher publisher, ProductMapper mapper)
-
-
Method Details
-
handle
@Measured @RabbitListener(queues="${owms.events.inventory.products.queue-name}") void handle(InventoryProductMO msg, @Header("owms_event_type") String header)
-