Class CompositeDestination

    • Constructor Detail

      • CompositeDestination

        public CompositeDestination()
    • Method Detail

      • getName

        public String getName()
      • setName

        public void setName​(String name)
        Sets the name of this composite destination
      • setForwardTo

        public void setForwardTo​(Collection forwardDestinations)
        Sets the list of destinations to forward to
      • isForwardOnly

        public boolean isForwardOnly()
      • setForwardOnly

        public void setForwardOnly​(boolean forwardOnly)
        Sets if the virtual destination is forward only (and so there is no physical queue to match the virtual queue) or if there is also a physical queue with the same name).
      • isCopyMessage

        public boolean isCopyMessage()
      • setCopyMessage

        public void setCopyMessage​(boolean copyMessage)
        this option will be removed in a later release, message are always copied.
        Sets whether a copy of the message will be sent to each destination. Defaults to true so that the forward destination is set as the destination of the message
      • setConcurrentSend

        public void setConcurrentSend​(boolean concurrentSend)
        when true, sends are done in parallel with the broker executor
      • isConcurrentSend

        public boolean isConcurrentSend()
      • hashCode

        public int hashCode()
        hashCode in class Object
      • isSendWhenNotMatched

        public boolean isSendWhenNotMatched()
      • setSendWhenNotMatched

        public void setSendWhenNotMatched​(boolean sendWhenNotMatched)