Disable touch default exchange on rabbitmq devel master
authorLin Yang <lin.a.yang@intel.com>
Tue, 13 Aug 2013 09:48:02 +0000 (17:48 +0800)
committerLin Yang <lin.a.yang@intel.com>
Tue, 13 Aug 2013 09:48:02 +0000 (17:48 +0800)
Change-Id: I3c0fa33406c2ffc4802b5306d4ad60b13e9fda62
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
src/main/java/com/intel/jenkins/plugins/obsevent/amqp/AmqpConnection.java

index 5084277..c5704b0 100644 (file)
@@ -71,13 +71,13 @@ public class AmqpConnection {
         } catch (IOException ex) {
             channelSession.queueDeclarePassive(queue.getName());
         }
-        try {
+        /*try {
             channelSession.exchangeDeclare(queue.getExchange(), "direct", true);
         } catch (IOException ex) {
             channelSession.exchangeDeclarePassive(queue.getExchange());
         }
 
-        channelSession.queueBind(queue.getName(), queue.getExchange(), queue.getRoutingKey());
+        channelSession.queueBind(queue.getName(), queue.getExchange(), queue.getRoutingKey());*/
     }
 
     /**