Class 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 Detail

      • JmsEndpointBuilder

        public JmsEndpointBuilder()
    • Method Detail

      • getEndpoint

        protected JmsEndpoint getEndpoint()
        Specified by:
        getEndpoint in class com.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:
      • 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: