Interface RespondingServiceActivator<T,U>

Type Parameters:
T - Type of incoming message that is being processed
U - Type of outgoing message that is returned
All Superinterfaces:
CustomServiceActivator

public interface RespondingServiceActivator<T,U> extends CustomServiceActivator
A RespondingServiceActivator is a Service Activator implementation that accepts a message and replies with a response message.
Author:
Heiko Scherrer
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.messaging.Message<U>
    Wake up a service, processor or bean that accepts incoming messages of type T and returns messages of type U.

    Methods inherited from interface org.openwms.common.comm.CustomServiceActivator

    getChannel, getChannelName
  • Method Details

    • wakeUp

      org.springframework.messaging.Message<U> wakeUp(GenericMessage<T> message)
      Wake up a service, processor or bean that accepts incoming messages of type T and returns messages of type U.
      Parameters:
      message - The message to forward
      Returns:
      The response returned from the service