Class AsyncTransactionApiImpl
java.lang.Object
org.openwms.transactions.api.commands.AsyncTransactionApiImpl
- All Implemented Interfaces:
AsyncTransactionApi
@Profile("ASYNCHRONOUS")
@Component
class AsyncTransactionApiImpl
extends Object
implements AsyncTransactionApi
A AsyncTransactionApiImpl.
- Author:
- Heiko Scherrer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final org.springframework.amqp.core.AmqpTemplate -
Constructor Summary
ConstructorsConstructorDescriptionAsyncTransactionApiImpl(org.springframework.amqp.core.AmqpTemplate template, String exchangeName) -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(TransactionCommand command) Process the givencommand.
-
Field Details
-
template
private final org.springframework.amqp.core.AmqpTemplate template -
exchangeName
-
-
Constructor Details
-
AsyncTransactionApiImpl
AsyncTransactionApiImpl(org.springframework.amqp.core.AmqpTemplate template, @Value("${owms.commands.transactions.tx.exchange-name}") String exchangeName)
-
-
Method Details
-
process
Process the givencommand.- Specified by:
processin interfaceAsyncTransactionApi- Parameters:
command- Command to process
-