Package com.consol.citrus.channel
Class ChannelEndpointAdapter
- java.lang.Object
-
- com.consol.citrus.endpoint.AbstractEndpointAdapter
-
- com.consol.citrus.channel.ChannelEndpointAdapter
-
- All Implemented Interfaces:
com.consol.citrus.endpoint.EndpointAdapter
public class ChannelEndpointAdapter extends com.consol.citrus.endpoint.AbstractEndpointAdapterEndpoint 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 Summary
Constructors Constructor Description ChannelEndpointAdapter(ChannelSyncEndpointConfiguration endpointConfiguration)Default constructor using endpoint configuration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelEndpointgetEndpoint()ChannelSyncEndpointConfigurationgetEndpointConfiguration()com.consol.citrus.message.MessagehandleMessageInternal(com.consol.citrus.message.Message request)voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)Sets the bean factory that constructed this endpoint adapter.
-
-
-
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:
handleMessageInternalin classcom.consol.citrus.endpoint.AbstractEndpointAdapter
-
getEndpoint
public ChannelEndpoint getEndpoint()
-
getEndpointConfiguration
public ChannelSyncEndpointConfiguration getEndpointConfiguration()
-
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansExceptionSets the bean factory that constructed this endpoint adapter.- Parameters:
beanFactory-- Throws:
org.springframework.beans.BeansException
-
-