Class JmsDestination

  • All Implemented Interfaces:
    java.io.Serializable, Destination

    public class JmsDestination
    extends java.lang.Object
    implements Destination
    The Class JmsDestination.
    See Also:
    Serialized Form
    • Constructor Detail

      • JmsDestination

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

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

        public JmsDestination​(JmsDestination.DestinationType destinationType,
                              java.lang.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 java.lang.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​(java.lang.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​(java.lang.Boolean firstOccurrenceOnly)
        Sets the first occurrence only.
        Parameters:
        firstOccurrenceOnly - the new first occurrence only
      • getJmsDestination

        public java.lang.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 java.lang.String getMessageFormat()
        Gets the message format.
        Returns:
        the message format