You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Valentina (JIRA)" <ji...@apache.org> on 2014/05/06 22:28:14 UTC
[jira] [Created] (QPIDJMS-19) unable to close producer
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