Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-6667

[Java Broker] Unused temporary queues are not deleted on connection disconnect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • qpid-java-6.0
    • Broker-J
    • None

    Description

      Creating a temporary queue, never using it and then closing the connection leaves the (unused) temporary queue on the broker

      The following code snippet reproduce the issue

              System.setProperty((ClientProperties.AMQP_VERSION), "0-9-1");
      
              AMQConnection connection = new AMQConnection("localhost", 5672, "guest", "guest", "", "/test");
      
              Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
              for(int i = 0; i < 100; i++)
              {
                  final TemporaryQueue tmpQ = session.createTemporaryQueue();
              }
              System.exit(0);
      

      Attachments

        Issue Links

          Activity

            People

              orudyy Alex Rudyy
              rgodfrey Robert Godfrey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: