Changeset b1b5fc0fee416e9f1842b44b97dbb3c4e5a053fd

Show
Ignore:
Timestamp:
03/21/12 15:33:52 (2 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1332344032 -0400
git-parent:

[0be44ef3f8cd3b1e78396826707cb3303d2c4887]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1332344032 -0400
Message:

default to not acking

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/java/com/omniti/reconnoiter/broker/RabbitBroker.java

    r0be44ef rb1b5fc0  
    2929  private Connection conn; 
    3030  private Channel channel; 
    31   private boolean noAck = false; 
     31  private boolean noAck = true; 
    3232  private String userName; 
    3333  private String password; 
     
    174174        e.printStackTrace(); 
    175175      } 
    176       channel.basicAck(delivery.getEnvelope().getDeliveryTag(), false); 
     176      if(!noAck) 
     177        channel.basicAck(delivery.getEnvelope().getDeliveryTag(), false); 
    177178    } 
    178179  }