Interface Exchange

    • Method Detail

      • getName

        String getName()
        The name of the exchange.
        Returns:
        the name of the exchange.
      • getType

        String getType()
        The type of the exchange. See ExchangeTypes for some well-known examples.
        Returns:
        the type of the exchange.
      • isDurable

        boolean isDurable()
        A durable exchange will survive a server restart.
        Returns:
        true if durable.
      • isAutoDelete

        boolean isAutoDelete()
        True if the server should delete the exchange when it is no longer in use (if all bindings are deleted).
        Returns:
        true if auto-delete.
      • getArguments

        Map<String,​Object> getArguments()
        A map of arguments used to declare the exchange. These are stored by the broker, but do not necessarily have any meaning to the broker (depending on the exchange type).
        Returns:
        the arguments.
      • isDelayed

        boolean isDelayed()
        Is a delayed message exchange; currently requires a broker plugin.
        Returns:
        true if delayed.
        Since:
        1.6
      • isInternal

        boolean isInternal()
        Is an exchange internal; i.e. can't be directly published to by a client, used for exchange-to-exchange binding only.
        Returns:
        true if internal.
        Since:
        1.6