Class AMQPContext


  • public class AMQPContext
    extends java.lang.Object

    AMQP context provides thread pools and trace objects to the SwiftMQ client.

    It is passed to the AMQP connection and must be instantiated as client context: new AMQPContext(AMQPContext.CLIENT);

    Author:
    IIT Software GmbH, Bremen/Germany, (c) 2011, All Rights Reserved
    • Constructor Detail

      • AMQPContext

        public AMQPContext​(int ctx)
        Constructs an AMQP context.
        Parameters:
        ctx - the context, CLIENT or ROUTER
    • Method Detail

      • getFrameTracer

        public Tracer getFrameTracer()
        Returns a frame tracer.
        Returns:
        frame tracer
      • getProcessingTracer

        public Tracer getProcessingTracer()
        Returns a processing tracer.
        Returns:
        processing tracer
      • getConnectionPool

        public ThreadPool getConnectionPool()
        Returns the connection thread pool.
        Returns:
        connection thread pool
      • getSessionPool

        public ThreadPool getSessionPool()
        Returns the session thread pool.
        Returns:
        session thread pool
      • getRouterFrameTracer

        protected Tracer getRouterFrameTracer()
      • getRouterProcessiongTracer

        protected Tracer getRouterProcessiongTracer()
      • getRouterConnectionPool

        protected ThreadPool getRouterConnectionPool()
      • getRouterSessionPool

        protected ThreadPool getRouterSessionPool()