Package com.consol.citrus.jms.endpoint
Class JmsSyncEndpointBuilder
- java.lang.Object
-
- com.consol.citrus.endpoint.AbstractEndpointBuilder<JmsSyncEndpoint>
-
- com.consol.citrus.jms.endpoint.JmsSyncEndpointBuilder
-
- All Implemented Interfaces:
com.consol.citrus.endpoint.EndpointBuilder<JmsSyncEndpoint>
public class JmsSyncEndpointBuilder extends com.consol.citrus.endpoint.AbstractEndpointBuilder<JmsSyncEndpoint>
- Since:
- 2.5
- Author:
- Christoph Deppisch
-
-
Constructor Summary
Constructors Constructor Description JmsSyncEndpointBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JmsSyncEndpointBuilderconnectionFactory(javax.jms.ConnectionFactory connectionFactory)Sets the connectionFactory property.JmsSyncEndpointBuildercorrelator(com.consol.citrus.message.MessageCorrelator correlator)Sets the message correlator.JmsSyncEndpointBuilderdestination(String destinationName)Sets the destinationName property.JmsSyncEndpointBuilderdestination(javax.jms.Destination destination)Sets the destination property.JmsSyncEndpointBuilderdestinationNameResolver(com.consol.citrus.endpoint.resolver.EndpointUriResolver resolver)Sets the destination name resolver.JmsSyncEndpointBuilderdestinationResolver(org.springframework.jms.support.destination.DestinationResolver resolver)Sets the destination resolver.JmsSyncEndpointBuilderfilterInternalHeaders(boolean filterInternalHeaders)Sets the filterInternalHeaders property.protected JmsSyncEndpointgetEndpoint()JmsSyncEndpointBuilderjmsTemplate(org.springframework.jms.core.JmsTemplate jmsTemplate)Sets the jmsTemplate property.JmsSyncEndpointBuildermessageConverter(JmsMessageConverter messageConverter)Sets the messageConverter property.JmsSyncEndpointBuilderpollingInterval(int pollingInterval)Sets the polling interval.JmsSyncEndpointBuilderpubSubDomain(boolean pubSubDomain)Sets the pubSubDomain property.JmsSyncEndpointBuilderreplyDestination(String destinationName)Sets the reply destinationName property.JmsSyncEndpointBuilderreplyDestination(javax.jms.Destination destination)Sets the reply destination property.JmsSyncEndpointBuildertimeout(long timeout)Sets the default timeout.JmsSyncEndpointBuilderuseObjectMessages(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 JmsSyncEndpoint getEndpoint()
- Specified by:
getEndpointin classcom.consol.citrus.endpoint.AbstractEndpointBuilder<JmsSyncEndpoint>
-
destination
public JmsSyncEndpointBuilder destination(String destinationName)
Sets the destinationName property.- Parameters:
destinationName-- Returns:
-
destination
public JmsSyncEndpointBuilder destination(javax.jms.Destination destination)
Sets the destination property.- Parameters:
destination-- Returns:
-
replyDestination
public JmsSyncEndpointBuilder replyDestination(String destinationName)
Sets the reply destinationName property.- Parameters:
destinationName-- Returns:
-
replyDestination
public JmsSyncEndpointBuilder replyDestination(javax.jms.Destination destination)
Sets the reply destination property.- Parameters:
destination-- Returns:
-
connectionFactory
public JmsSyncEndpointBuilder connectionFactory(javax.jms.ConnectionFactory connectionFactory)
Sets the connectionFactory property.- Parameters:
connectionFactory-- Returns:
-
jmsTemplate
public JmsSyncEndpointBuilder jmsTemplate(org.springframework.jms.core.JmsTemplate jmsTemplate)
Sets the jmsTemplate property.- Parameters:
jmsTemplate-- Returns:
-
messageConverter
public JmsSyncEndpointBuilder messageConverter(JmsMessageConverter messageConverter)
Sets the messageConverter property.- Parameters:
messageConverter-- Returns:
-
destinationResolver
public JmsSyncEndpointBuilder destinationResolver(org.springframework.jms.support.destination.DestinationResolver resolver)
Sets the destination resolver.- Parameters:
resolver-- Returns:
-
destinationNameResolver
public JmsSyncEndpointBuilder destinationNameResolver(com.consol.citrus.endpoint.resolver.EndpointUriResolver resolver)
Sets the destination name resolver.- Parameters:
resolver-- Returns:
-
pubSubDomain
public JmsSyncEndpointBuilder pubSubDomain(boolean pubSubDomain)
Sets the pubSubDomain property.- Parameters:
pubSubDomain-- Returns:
-
useObjectMessages
public JmsSyncEndpointBuilder useObjectMessages(boolean useObjectMessages)
Sets the useObjectMessages property.- Parameters:
useObjectMessages-- Returns:
-
filterInternalHeaders
public JmsSyncEndpointBuilder filterInternalHeaders(boolean filterInternalHeaders)
Sets the filterInternalHeaders property.- Parameters:
filterInternalHeaders-- Returns:
-
pollingInterval
public JmsSyncEndpointBuilder pollingInterval(int pollingInterval)
Sets the polling interval.- Parameters:
pollingInterval-- Returns:
-
correlator
public JmsSyncEndpointBuilder correlator(com.consol.citrus.message.MessageCorrelator correlator)
Sets the message correlator.- Parameters:
correlator-- Returns:
-
timeout
public JmsSyncEndpointBuilder timeout(long timeout)
Sets the default timeout.- Parameters:
timeout-- Returns:
-
-