Package org.citrusframework.jms.endpoint
Class JmsEndpointBuilder
java.lang.Object
org.citrusframework.endpoint.AbstractEndpointBuilder<JmsEndpoint>
org.citrusframework.jms.endpoint.JmsEndpointBuilder
- All Implemented Interfaces:
EndpointBuilder<JmsEndpoint>
- Since:
- 2.5
- Author:
- Christoph Deppisch
-
Field Summary
Fields inherited from interface org.citrusframework.endpoint.EndpointBuilder
logger, RESOURCE_PATH, TYPE_RESOLVER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoStart(boolean autoStart) Sets the autoStart property.connectionFactory(jakarta.jms.ConnectionFactory connectionFactory) Sets the connectionFactory property.destination(jakarta.jms.Destination destination) Sets the destination property.destination(String destinationName) Sets the destinationName property.destinationNameResolver(EndpointUriResolver resolver) Sets the destination name resolver.destinationResolver(org.springframework.jms.support.destination.DestinationResolver resolver) Sets the destination resolver.durableSubscriberName(String durableSubscriberName) Sets the durableSubscriberName property.durableSubscription(boolean durableSubscription) Sets the durableSubscription property.filterInternalHeaders(boolean filterInternalHeaders) Sets the filterInternalHeaders property.protected JmsEndpointjmsTemplate(org.springframework.jms.core.JmsTemplate jmsTemplate) Sets the jmsTemplate property.messageConverter(JmsMessageConverter messageConverter) Sets the messageConverter property.pubSubDomain(boolean pubSubDomain) Sets the pubSubDomain property.timeout(long timeout) Sets the default timeout.useObjectMessages(boolean useObjectMessages) Sets the useObjectMessages property.Methods inherited from class org.citrusframework.endpoint.AbstractEndpointBuilder
actor, build, initialize, name, referenceResolver, supportsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.endpoint.EndpointBuilder
build, build
-
Constructor Details
-
JmsEndpointBuilder
public JmsEndpointBuilder()
-
-
Method Details
-
getEndpoint
- Specified by:
getEndpointin classAbstractEndpointBuilder<JmsEndpoint>
-
destination
Sets the destinationName property.- Parameters:
destinationName-- Returns:
-
destination
Sets the destination property.- Parameters:
destination-- Returns:
-
connectionFactory
Sets the connectionFactory property.- Parameters:
connectionFactory-- Returns:
-
jmsTemplate
Sets the jmsTemplate property.- Parameters:
jmsTemplate-- Returns:
-
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
Sets the destination name resolver.- Parameters:
resolver-- Returns:
-
pubSubDomain
Sets the pubSubDomain property.- Parameters:
pubSubDomain-- Returns:
-
autoStart
Sets the autoStart property.- Parameters:
autoStart-- Returns:
-
durableSubscription
Sets the durableSubscription property.- Parameters:
durableSubscription-- Returns:
-
durableSubscriberName
Sets the durableSubscriberName property.- Parameters:
durableSubscriberName-- Returns:
-
useObjectMessages
Sets the useObjectMessages property.- Parameters:
useObjectMessages-- Returns:
-
filterInternalHeaders
Sets the filterInternalHeaders property.- Parameters:
filterInternalHeaders-- Returns:
-
timeout
Sets the default timeout.- Parameters:
timeout-- Returns:
-