Class AsyncTransportUnitApiImpl

  • All Implemented Interfaces:

    class AsyncTransportUnitApiImpl
    extends Object
    implements AsyncTransportUnitApi
    A AsyncTransportUnitApiImpl is a Spring managed bean to send Commands asynchronously over AMQP, only active with Spring profile SpringProfiles.ASYNCHRONOUS_PROFILE.
    Heiko Scherrer
    • Field Detail

      • template

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

        private final String exchangeName
    • Constructor Detail

      • AsyncTransportUnitApiImpl

        AsyncTransportUnitApiImpl​(org.springframework.amqp.core.AmqpTemplate template,
                                  String exchangeName)
    • Method Detail

      • process

        public void process​(org.openwms.common.transport.api.commands.Command command)
        Description copied from interface: AsyncTransportUnitApi
        Process the given command.
        Specified by:
        process in interface AsyncTransportUnitApi
        command - Command to process