Class ChannelEndpointAdapter

  • All Implemented Interfaces:
    com.consol.citrus.endpoint.EndpointAdapter

    public class ChannelEndpointAdapter
    extends com.consol.citrus.endpoint.AbstractEndpointAdapter
    Endpoint adapter forwards incoming requests to message channel and waits synchronously for response on reply channel. Provides channel endpoint for clients to connect to message channel in order to provide proper response message.
    Since:
    1.4
    Author:
    Christoph Deppisch
    • Constructor Detail

      • ChannelEndpointAdapter

        public ChannelEndpointAdapter​(ChannelSyncEndpointConfiguration endpointConfiguration)
        Default constructor using endpoint configuration.
        Parameters:
        endpointConfiguration -
    • Method Detail

      • handleMessageInternal

        public com.consol.citrus.message.Message handleMessageInternal​(com.consol.citrus.message.Message request)
        Specified by:
        handleMessageInternal in class com.consol.citrus.endpoint.AbstractEndpointAdapter
      • setBeanFactory

        public void setBeanFactory​(org.springframework.beans.factory.BeanFactory beanFactory)
                            throws org.springframework.beans.BeansException
        Sets the bean factory that constructed this endpoint adapter.
        Parameters:
        beanFactory -
        Throws:
        org.springframework.beans.BeansException