qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Valentina (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPIDJMS-19) unable to close producer
Date Tue, 06 May 2014 20:28:14 GMT
Valentina created QPIDJMS-19:
--------------------------------

             Summary: unable to close producer
                 Key: QPIDJMS-19
                 URL: https://issues.apache.org/jira/browse/QPIDJMS-19
             Project: Qpid JMS
          Issue Type: Bug
         Environment: broker: MRG/M qpid-cpp-22.-37-el6
client: qpid-java-amqp-1-0-client-jms-0.26
            Reporter: Valentina


an attempt of closing producer makes client hang:

      import org.apache.qpid.amqp_1_0.jms.impl.ConnectionImpl;
      ...
        Connection conn = new ConnectionImpl("127.0.0.1",5672,"guest","guestPassword","testproducer");
        Session session = conn.createSession(false, Session.AUTO_ACKNOWLEDGE);
        javax.jms.Queue queue = session.createQueue("queue");
        MessageProducer prod = session.createProducer(queue);
        prod.close ();
        //session.close();
        //connection.close();
closing session or connection produces the same results.




--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message