Class AMQP


  • public class AMQP
    extends Object
    • Field Detail

      • CLASS_CONNECTION

        public static final int CLASS_CONNECTION
        The connection class provides methods for a client to establish a network connection to a server, and for both peers to operate the connection thereafter.
        See Also:
        Constant Field Values
      • CLASS_CHANNEL

        public static final int CLASS_CHANNEL
        The channel class provides methods for a client to establish a channel to a server and for both peers to operate the channel thereafter.
        See Also:
        Constant Field Values
      • CLASS_EXCHANGE

        public static final int CLASS_EXCHANGE
        Exchanges match and distribute messages across queues. Exchanges can be configured in the server or declared at runtime.
        See Also:
        Constant Field Values
      • CLASS_QUEUE

        public static final int CLASS_QUEUE
        Queues store and forward messages. Queues can be configured in the server or created at runtime. Queues must be attached to at least one exchange in order to receive messages from publishers.
        See Also:
        Constant Field Values
      • CLASS_BASIC

        public static final int CLASS_BASIC
        The Basic class provides methods that support an industry-standard messaging model.
        See Also:
        Constant Field Values
      • CLASS_TX

        public static final int CLASS_TX
        The Tx class allows publish and ack operations to be batched into atomic units of work. The intention is that all publish and ack requests issued within a transaction will complete successfully or none of them will. Servers SHOULD implement atomic transactions at least where all publish or ack requests affect a single queue. Transactions that cover multiple queues may be non-atomic, given that queues can be created and destroyed asynchronously, and such events do not form part of any transaction. Further, the behaviour of transactions with respect to the immediate and mandatory flags on Basic.Publish methods is not defined.
        See Also:
        Constant Field Values
      • ids

        public static final int[] ids
    • Constructor Detail

      • AMQP

        public AMQP()
    • Method Detail

      • getPosition

        private static int getPosition​(int id)