Interface DestinationType

All Known Implementing Classes:
DestinationType

public interface DestinationType
Type of messaging destination (queue or topic).

This is the canonical location for DestinationType. The deprecated DestinationType enum implements this interface for backward compatibility - existing SDK plugins continue to work unchanged.

Standard constants are available as QUEUE and TOPIC.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final DestinationType
    A queue.
    static final DestinationType
    A topic.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of this destination type ("QUEUE" or "TOPIC").
  • Field Details

    • QUEUE

      static final DestinationType QUEUE
      A queue. File message destinations, which are directories, use it too.
    • TOPIC

      static final DestinationType TOPIC
      A topic.
  • Method Details

    • name

      String name()
      Returns the name of this destination type ("QUEUE" or "TOPIC").
      Returns:
      "QUEUE" or "TOPIC"