Class JmsEndpointConfiguration

All Implemented Interfaces:
EndpointConfiguration, PollableEndpointConfiguration
Direct Known Subclasses:
JmsSyncEndpointConfiguration

public class JmsEndpointConfiguration extends AbstractPollableEndpointConfiguration
Since:
1.4
Author:
Christoph Deppisch
  • Constructor Details

    • JmsEndpointConfiguration

      public JmsEndpointConfiguration()
  • Method Details

    • getDestinationName

      public String getDestinationName(jakarta.jms.Destination destination)
      Get the destination name (either a queue name or a topic name).
      Parameters:
      destination -
      Returns:
      the destinationName
    • isPubSubDomain

      public boolean isPubSubDomain()
      Does domain use topics instead of queues.
      Returns:
      the pubSubDomain
    • setPubSubDomain

      public void setPubSubDomain(boolean pubSubDomain)
      Sets if domain uses topics instead of queues.
      Parameters:
      pubSubDomain - the pubSubDomain to set
    • getConnectionFactory

      public jakarta.jms.ConnectionFactory getConnectionFactory()
      Gets the connection factory.
      Returns:
      the connectionFactory
    • setConnectionFactory

      public void setConnectionFactory(jakarta.jms.ConnectionFactory connectionFactory)
      Sets the connection factory.
      Parameters:
      connectionFactory - the connectionFactory to set
    • getDestination

      public jakarta.jms.Destination getDestination()
      Gets the destination.
      Returns:
      the destination
    • setDestination

      public void setDestination(jakarta.jms.Destination destination)
      Sets the destination.
      Parameters:
      destination - the destination to set
    • getDestinationName

      public String getDestinationName()
      Gets the destination name.
      Returns:
      the destinationName
    • setDestinationName

      public void setDestinationName(String destinationName)
      Sets the destination name.
      Parameters:
      destinationName - the destinationName to set
    • getDestinationResolver

      public org.springframework.jms.support.destination.DestinationResolver getDestinationResolver()
      Sets the destination resolver.
      Returns:
      the destinationResolver
    • setDestinationResolver

      public void setDestinationResolver(org.springframework.jms.support.destination.DestinationResolver destinationResolver)
      Gets the destination resolver.
      Parameters:
      destinationResolver - the destinationResolver to set
    • setJmsTemplate

      public void setJmsTemplate(org.springframework.jms.core.JmsTemplate jmsTemplate)
      Sets the JMS template.
      Parameters:
      jmsTemplate - the jmsTemplate to set
    • getJmsTemplate

      public org.springframework.jms.core.JmsTemplate getJmsTemplate()
      Gets the JMS template.
      Returns:
      the jmsTemplate
    • getMessageConverter

      public JmsMessageConverter getMessageConverter()
      Gets the message converter.
      Returns:
    • setMessageConverter

      public void setMessageConverter(JmsMessageConverter messageConverter)
      Sets the message converter.
      Parameters:
      messageConverter -
    • getHeaderMapper

      public org.springframework.jms.support.JmsHeaderMapper getHeaderMapper()
      Gets the JMS header mapper.
      Returns:
      the headerMapper
    • setHeaderMapper

      public void setHeaderMapper(org.springframework.jms.support.JmsHeaderMapper headerMapper)
      Sets the JMS header mapper.
      Parameters:
      headerMapper - the headerMapper to set
    • isUseObjectMessages

      public boolean isUseObjectMessages()
      Determines weather to convert outbound messages or not. If conversion is disabled endpoint will not convert the outbound message. Instead, the raw message object will be sent over the wire using a JMS object message.
      Returns:
    • setUseObjectMessages

      public void setUseObjectMessages(boolean useObjectMessages)
      Setting to control object message mode.
      Parameters:
      useObjectMessages -
    • isFilterInternalHeaders

      public boolean isFilterInternalHeaders()
      Determines if internal message headers should be filtered when creating the JMS message.
      Returns:
    • setFilterInternalHeaders

      public void setFilterInternalHeaders(boolean filterInternalHeaders)
      Setting to control filtering of internal message headers.
      Parameters:
      filterInternalHeaders -
    • getDestinationNameResolver

      public EndpointUriResolver getDestinationNameResolver()
      Gets the destinationNameResolver.
      Returns:
    • setDestinationNameResolver

      public void setDestinationNameResolver(EndpointUriResolver destinationNameResolver)
      Sets the destinationNameResolver.
      Parameters:
      destinationNameResolver -
    • isAutoStart

      public boolean isAutoStart()
      Gets the autoStart.
      Returns:
    • setAutoStart

      public void setAutoStart(boolean autoStart)
      Sets the autoStart.
      Parameters:
      autoStart -
    • isDurableSubscription

      public boolean isDurableSubscription()
      Gets the durableSubscription.
      Returns:
    • setDurableSubscription

      public void setDurableSubscription(boolean durableSubscription)
      Sets the durableSubscription.
      Parameters:
      durableSubscription -
    • getDurableSubscriberName

      public String getDurableSubscriberName()
      Gets the durableSubscriberName.
      Returns:
    • setDurableSubscriberName

      public void setDurableSubscriberName(String durableSubscriberName)
      Sets the durableSubscriberName.
      Parameters:
      durableSubscriberName -