Package com.consol.citrus.channel
Class ChannelEndpointBuilder
- java.lang.Object
-
- com.consol.citrus.endpoint.AbstractEndpointBuilder<ChannelEndpoint>
-
- com.consol.citrus.channel.ChannelEndpointBuilder
-
- All Implemented Interfaces:
EndpointBuilder<ChannelEndpoint>
public class ChannelEndpointBuilder extends AbstractEndpointBuilder<ChannelEndpoint>
- Since:
- 2.7.6
- Author:
- Christoph Deppisch
-
-
Field Summary
-
Fields inherited from interface com.consol.citrus.endpoint.EndpointBuilder
LOG, RESOURCE_PATH, TYPE_RESOLVER
-
-
Constructor Summary
Constructors Constructor Description ChannelEndpointBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelEndpointBuilderchannel(String channelName)Sets the channelName property.ChannelEndpointBuilderchannel(org.springframework.messaging.MessageChannel channel)Sets the channel property.ChannelEndpointBuilderchannelResolver(org.springframework.messaging.core.DestinationResolver resolver)Sets the channel resolver.ChannelEndpointBuilderfilterInternalHeaders(boolean filterInternalHeaders)Sets the filterInternalHeaders property.protected ChannelEndpointgetEndpoint()ChannelEndpointBuildermessageConverter(ChannelMessageConverter messageConverter)Sets the messageConverter property.ChannelEndpointBuildermessagingTemplate(org.springframework.integration.core.MessagingTemplate messagingTemplate)Sets the messagingTemplate property.ChannelEndpointBuildertimeout(long timeout)Sets the default timeout.ChannelEndpointBuilderuseObjectMessages(boolean useObjectMessages)Sets the useObjectMessages property.-
Methods inherited from class com.consol.citrus.endpoint.AbstractEndpointBuilder
actor, build, initialize, name, referenceResolver, supports
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.consol.citrus.endpoint.EndpointBuilder
build, build
-
-
-
-
Method Detail
-
getEndpoint
protected ChannelEndpoint getEndpoint()
- Specified by:
getEndpointin classAbstractEndpointBuilder<ChannelEndpoint>
-
channel
public ChannelEndpointBuilder channel(String channelName)
Sets the channelName property.- Parameters:
channelName-- Returns:
-
channel
public ChannelEndpointBuilder channel(org.springframework.messaging.MessageChannel channel)
Sets the channel property.- Parameters:
channel-- Returns:
-
messagingTemplate
public ChannelEndpointBuilder messagingTemplate(org.springframework.integration.core.MessagingTemplate messagingTemplate)
Sets the messagingTemplate property.- Parameters:
messagingTemplate-- Returns:
-
messageConverter
public ChannelEndpointBuilder messageConverter(ChannelMessageConverter messageConverter)
Sets the messageConverter property.- Parameters:
messageConverter-- Returns:
-
channelResolver
public ChannelEndpointBuilder channelResolver(org.springframework.messaging.core.DestinationResolver resolver)
Sets the channel resolver.- Parameters:
resolver-- Returns:
-
useObjectMessages
public ChannelEndpointBuilder useObjectMessages(boolean useObjectMessages)
Sets the useObjectMessages property.- Parameters:
useObjectMessages-- Returns:
-
filterInternalHeaders
public ChannelEndpointBuilder filterInternalHeaders(boolean filterInternalHeaders)
Sets the filterInternalHeaders property.- Parameters:
filterInternalHeaders-- Returns:
-
timeout
public ChannelEndpointBuilder timeout(long timeout)
Sets the default timeout.- Parameters:
timeout-- Returns:
-
-