Package com.rabbitmq.client

Examples of com.rabbitmq.client.Channel.basicAck()


        final boolean multiple = (Boolean) parameters[1];
        final String consumer = (String) parameters[2];
        final Channel channel = AmqpOperationFactory.this.amqpDriver.getChannel (consumer);
        if (channel != null) {
          try {
            channel.basicAck (delivery, multiple);
            succeeded = true;
          } catch (final IOException e) {
            AmqpOperationFactory.this.exceptions.traceIgnoredException (e);
          }
        }
View Full Code Here


          long nano = System.nanoTime();

          Envelope envelope = delivery.getEnvelope();

          if (!autoAck) {
            channel.basicAck(envelope.getDeliveryTag(), false);
          }

          if (txSize != 0 && totalMsgCount % txSize == 0) {
            channel.txCommit();
          }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.