Class JmsEndpointBuilder

java.lang.Object
org.citrusframework.endpoint.AbstractEndpointBuilder<JmsEndpoint>
org.citrusframework.jms.endpoint.JmsEndpointBuilder
All Implemented Interfaces:
EndpointBuilder<JmsEndpoint>

public class JmsEndpointBuilder extends AbstractEndpointBuilder<JmsEndpoint>
Since:
2.5
Author:
Christoph Deppisch
  • Constructor Details

    • JmsEndpointBuilder

      public JmsEndpointBuilder()
  • Method Details

    • getEndpoint

      protected JmsEndpoint getEndpoint()
      Specified by:
      getEndpoint in class AbstractEndpointBuilder<JmsEndpoint>
    • destination

      public JmsEndpointBuilder destination(String destinationName)
      Sets the destinationName property.
      Parameters:
      destinationName -
      Returns:
    • destination

      public JmsEndpointBuilder destination(jakarta.jms.Destination destination)
      Sets the destination property.
      Parameters:
      destination -
      Returns:
    • connectionFactory

      public JmsEndpointBuilder connectionFactory(jakarta.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(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: