Class RabbitAsyncTransactionApiImpl

java.lang.Object
org.openwms.transactions.api.commands.RabbitAsyncTransactionApiImpl
All Implemented Interfaces:
AsyncTransactionApi<TransactionCommand>

@Profile("AMQP") @Component class RabbitAsyncTransactionApiImpl extends Object implements AsyncTransactionApi<TransactionCommand>
A RabbitTransactionApiImpl is a sender facade that uses RabbitMQ to send transaction commands. It is activated with the Spring profile AMQP. It expects to work with an exchange name configured as owms.commands.transactions.tx.send-to.
Author:
Heiko Scherrer
  • Field Details

    • template

      private final org.springframework.amqp.core.AmqpTemplate template
    • exchangeName

      private final String exchangeName
  • Constructor Details

    • RabbitAsyncTransactionApiImpl

      RabbitAsyncTransactionApiImpl(org.springframework.amqp.core.AmqpTemplate template, @Value("${owms.commands.transactions.tx.exchange-name}") String exchangeName)
  • Method Details