Class JmsDestination

    • Constructor Detail

      • JmsDestination

        public JmsDestination()
        Instantiates a new JMS destination.
      • JmsDestination

        public JmsDestination​(JmsDestination.DestinationType destinationType,
                              String destination)
        Instantiates a new JMS destination.
        Parameters:
        destinationType - the destination type
        destination - the destination
      • JmsDestination

        public JmsDestination​(JmsDestination.DestinationType destinationType,
                              String destination,
                              boolean firstOccurrenceOnly,
                              boolean sendAsObjectMessage)
        Instantiates a new JMS destination.
        Parameters:
        destinationType - the destination type
        destination - the destination
        firstOccurrenceOnly - the first occurrence only
        sendAsObjectMessage - the send as object message
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: Destination
        Gets the destination name.
        Specified by:
        getName in interface Destination
        Returns:
        the destination name
      • setName

        public void setName​(String destinationName)
        Sets the name.
        Parameters:
        destinationName - the new name
      • isFirstOccurrenceOnly

        public boolean isFirstOccurrenceOnly()
        Description copied from interface: Destination
        Checks if is first occurrence only.
        Specified by:
        isFirstOccurrenceOnly in interface Destination
        Returns:
        true, if is first occurrence only
      • setFirstOccurrenceOnly

        public void setFirstOccurrenceOnly​(Boolean firstOccurrenceOnly)
        Sets the first occurrence only.
        Parameters:
        firstOccurrenceOnly - the new first occurrence only
      • getJmsDestination

        public String getJmsDestination()
        Gets the JMS destination.
        Returns:
        the JMS destination
      • isSendAsObjectMessageEnabled

        public boolean isSendAsObjectMessageEnabled()
        Checks if is send as object message enabled.
        Returns:
        true, if is send as object message enabled
      • setDestinationType

        public void setDestinationType​(JmsDestination.DestinationType destinationType)
        Sets the destination type.
        Parameters:
        destinationType - the new destination type
      • getMessageFormat

        public String getMessageFormat()
        Gets the message format.
        Returns:
        the message format