Interface PostOffice

  • All Superinterfaces:
    ActiveMQComponent
    All Known Implementing Classes:
    PostOfficeImpl

    public interface PostOffice
    extends ActiveMQComponent
    A PostOffice instance maintains a mapping of a String address to a Queue. Multiple Queue instances can be bound with the same String address. Given a message and an address a PostOffice instance will route that message to all the Queue instances that are registered with that address. Addresses can be any String instance. A Queue instance can only be bound against a single address in the post office.