Package com.consol.citrus.jms.endpoint
Class JmsEndpointBuilder
- java.lang.Object
-
- com.consol.citrus.endpoint.AbstractEndpointBuilder<JmsEndpoint>
-
- com.consol.citrus.jms.endpoint.JmsEndpointBuilder
-
- All Implemented Interfaces:
com.consol.citrus.endpoint.EndpointBuilder<JmsEndpoint>
public class JmsEndpointBuilder extends com.consol.citrus.endpoint.AbstractEndpointBuilder<JmsEndpoint>
- Since:
- 2.5
- Author:
- Christoph Deppisch
-
-
Constructor Summary
Constructors Constructor Description JmsEndpointBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JmsEndpointBuilderautoStart(boolean autoStart)Sets the autoStart property.JmsEndpointBuilderconnectionFactory(javax.jms.ConnectionFactory connectionFactory)Sets the connectionFactory property.JmsEndpointBuilderdestination(String destinationName)Sets the destinationName property.JmsEndpointBuilderdestination(javax.jms.Destination destination)Sets the destination property.JmsEndpointBuilderdestinationNameResolver(com.consol.citrus.endpoint.resolver.EndpointUriResolver resolver)Sets the destination name resolver.JmsEndpointBuilderdestinationResolver(org.springframework.jms.support.destination.DestinationResolver resolver)Sets the destination resolver.JmsEndpointBuilderdurableSubscriberName(String durableSubscriberName)Sets the durableSubscriberName property.JmsEndpointBuilderdurableSubscription(boolean durableSubscription)Sets the durableSubscription property.JmsEndpointBuilderfilterInternalHeaders(boolean filterInternalHeaders)Sets the filterInternalHeaders property.protected JmsEndpointgetEndpoint()JmsEndpointBuilderjmsTemplate(org.springframework.jms.core.JmsTemplate jmsTemplate)Sets the jmsTemplate property.JmsEndpointBuildermessageConverter(JmsMessageConverter messageConverter)Sets the messageConverter property.JmsEndpointBuilderpubSubDomain(boolean pubSubDomain)Sets the pubSubDomain property.JmsEndpointBuildertimeout(long timeout)Sets the default timeout.JmsEndpointBuilderuseObjectMessages(boolean useObjectMessages)Sets the useObjectMessages property.-
Methods inherited from class com.consol.citrus.endpoint.AbstractEndpointBuilder
actor, build, initialize, name, referenceResolver, supports
-
-
-
-
Method Detail
-
getEndpoint
protected JmsEndpoint getEndpoint()
- Specified by:
getEndpointin classcom.consol.citrus.endpoint.AbstractEndpointBuilder<JmsEndpoint>
-
destination
public JmsEndpointBuilder destination(String destinationName)
Sets the destinationName property.- Parameters:
destinationName-- Returns:
-
destination
public JmsEndpointBuilder destination(javax.jms.Destination destination)
Sets the destination property.- Parameters:
destination-- Returns:
-
connectionFactory
public JmsEndpointBuilder connectionFactory(javax.jms.ConnectionFactory connectionFactory)
Sets the connectionFactory property.- Parameters:
connectionFactory-- Returns:
-
jmsTemplate
public JmsEndpointBuilder jmsTemplate(org.springframework.jms.core.JmsTemplate jmsTemplate)
Sets the jmsTemplate property.- Parameters:
jmsTemplate-- Returns:
-
messageConverter
public JmsEndpointBuilder messageConverter(JmsMessageConverter messageConverter)
Sets the messageConverter property.- Parameters:
messageConverter-- Returns:
-
destinationResolver
public JmsEndpointBuilder destinationResolver(org.springframework.jms.support.destination.DestinationResolver resolver)
Sets the destination resolver.- Parameters:
resolver-- Returns:
-
destinationNameResolver
public JmsEndpointBuilder destinationNameResolver(com.consol.citrus.endpoint.resolver.EndpointUriResolver resolver)
Sets the destination name resolver.- Parameters:
resolver-- Returns:
-
pubSubDomain
public JmsEndpointBuilder pubSubDomain(boolean pubSubDomain)
Sets the pubSubDomain property.- Parameters:
pubSubDomain-- Returns:
-
autoStart
public JmsEndpointBuilder autoStart(boolean autoStart)
Sets the autoStart property.- Parameters:
autoStart-- Returns:
-
durableSubscription
public JmsEndpointBuilder durableSubscription(boolean durableSubscription)
Sets the durableSubscription property.- Parameters:
durableSubscription-- Returns:
-
durableSubscriberName
public JmsEndpointBuilder durableSubscriberName(String durableSubscriberName)
Sets the durableSubscriberName property.- Parameters:
durableSubscriberName-- Returns:
-
useObjectMessages
public JmsEndpointBuilder useObjectMessages(boolean useObjectMessages)
Sets the useObjectMessages property.- Parameters:
useObjectMessages-- Returns:
-
filterInternalHeaders
public JmsEndpointBuilder filterInternalHeaders(boolean filterInternalHeaders)
Sets the filterInternalHeaders property.- Parameters:
filterInternalHeaders-- Returns:
-
timeout
public JmsEndpointBuilder timeout(long timeout)
Sets the default timeout.- Parameters:
timeout-- Returns:
-
-