Interface AddressBuilder<T>

Type Parameters:
T - the type of object returned by methods, usually the object itself
All Known Subinterfaces:
Message.MessageAddressBuilder, PublisherBuilder, RpcClientBuilder.RpcClientAddressBuilder

public interface AddressBuilder<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    exchange(String exchange)
    Set the exchange.
    key(String key)
    Set the routing key.
    queue(String queue)
    Set the queue.
  • Method Details

    • exchange

      T exchange(String exchange)
      Set the exchange.
      Parameters:
      exchange - exchange
      Returns:
      type-parameter object
    • key

      T key(String key)
      Set the routing key.
      Parameters:
      key - routing key
      Returns:
      type-parameter object
    • queue

      T queue(String queue)
      Set the queue.
      Parameters:
      queue - queue
      Returns:
      type-parameter object