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
Modifier and TypeFieldDescriptionprivate final String
private final org.springframework.amqp.core.AmqpTemplate
-
Constructor Summary
ConstructorDescriptionAsyncTransactionApiImpl
(org.springframework.amqp.core.AmqpTemplate template, String exchangeName) -
Method Summary
Modifier and TypeMethodDescriptionvoid
process
(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:
process
in interfaceAsyncTransactionApi
- Parameters:
command
- Command to process
-