Class JmsActivationSpecConfig

  • java.lang.Object
    • org.springframework.jms.listener.endpoint.JmsActivationSpecConfig
    • Constructor Detail

      • JmsActivationSpecConfig

        public JmsActivationSpecConfig()
    • Method Detail

      • setDestinationName

        public void setDestinationName(@Nullable
                                       java.lang.String destinationName)
      • getDestinationName

        public java.lang.String getDestinationName()
      • setPubSubDomain

        public void setPubSubDomain(boolean pubSubDomain)
      • isPubSubDomain

        public boolean isPubSubDomain()
      • setReplyPubSubDomain

        public void setReplyPubSubDomain(boolean replyPubSubDomain)
      • isReplyPubSubDomain

        public boolean isReplyPubSubDomain()
      • setSubscriptionDurable

        public void setSubscriptionDurable(boolean subscriptionDurable)
      • isSubscriptionDurable

        public boolean isSubscriptionDurable()
      • setSubscriptionShared

        public void setSubscriptionShared(boolean subscriptionShared)
      • isSubscriptionShared

        public boolean isSubscriptionShared()
      • setSubscriptionName

        public void setSubscriptionName(@Nullable
                                        java.lang.String subscriptionName)
      • getSubscriptionName

        public java.lang.String getSubscriptionName()
      • setDurableSubscriptionName

        public void setDurableSubscriptionName(@Nullable
                                               java.lang.String durableSubscriptionName)
      • getDurableSubscriptionName

        public java.lang.String getDurableSubscriptionName()
      • setClientId

        public void setClientId(@Nullable
                                java.lang.String clientId)
      • getClientId

        public java.lang.String getClientId()
      • setMessageSelector

        public void setMessageSelector(@Nullable
                                       java.lang.String messageSelector)
      • getMessageSelector

        public java.lang.String getMessageSelector()
      • getAcknowledgeMode

        public int getAcknowledgeMode()
        Return the JMS acknowledgement mode to use.
      • setConcurrency

        public void setConcurrency(java.lang.String concurrency)
        Specify concurrency limits via a "lower-upper" String, e.g. "5-10", or a simple upper limit String, e.g. "10".

        JCA listener containers will always scale from zero to the given upper limit. A specified lower limit will effectively be ignored.

        This property is primarily supported for configuration compatibility with DefaultMessageListenerContainer. For this activation config, generally use setMaxConcurrency(int) instead.

      • setMaxConcurrency

        public void setMaxConcurrency(int maxConcurrency)
        Specify the maximum number of consumers/sessions to use, effectively controlling the number of concurrent invocations on the target listener.
      • getMaxConcurrency

        public int getMaxConcurrency()
        Return the maximum number of consumers/sessions to use.
      • setPrefetchSize

        public void setPrefetchSize(int prefetchSize)
        Specify the maximum number of messages to load into a session (a kind of batch size).
      • getPrefetchSize

        public int getPrefetchSize()
        Return the maximum number of messages to load into a session.
      • setMessageConverter

        public void setMessageConverter(@Nullable
                                        MessageConverter messageConverter)
        Set the MessageConverter strategy for converting JMS Messages.
        messageConverter - the message converter to use