Package org.openwms.tms.events
Class TransportOrderEventPropagator
java.lang.Object
org.openwms.tms.events.TransportOrderEventPropagator
A TransportOrderEventPropagator.
- Author:
- Heiko Scherrer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final org.springframework.amqp.core.AmqpTemplate
private final String
private static final org.slf4j.Logger
private final TransportOrderMapper
-
Constructor Summary
ConstructorDescriptionTransportOrderEventPropagator
(org.springframework.amqp.core.AmqpTemplate amqpTemplate, String exchangeName, TransportOrderMapper mapper) -
Method Summary
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
amqpTemplate
private final org.springframework.amqp.core.AmqpTemplate amqpTemplate -
exchangeName
-
mapper
-
-
Constructor Details
-
TransportOrderEventPropagator
TransportOrderEventPropagator(org.springframework.amqp.core.AmqpTemplate amqpTemplate, @Value("${owms.events.tms.to.exchange-name}") String exchangeName, TransportOrderMapper mapper)
-
-
Method Details
-
onEvent
@Measured @TransactionalEventListener(fallbackExecution=true) @Transactional(propagation=REQUIRES_NEW) public void onEvent(TransportServiceEvent event)
-