You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jakub Scholz (JIRA)" <ji...@apache.org> on 2015/04/15 19:51:59 UTC

[jira] [Created] (QPIDJMS-42) When amqps connection fails, the program never exits?

Jakub Scholz created QPIDJMS-42:
-----------------------------------

             Summary: When amqps connection fails, the program never exits?
                 Key: QPIDJMS-42
                 URL: https://issues.apache.org/jira/browse/QPIDJMS-42
             Project: Qpid JMS
          Issue Type: Bug
          Components: qpid-jms-client
            Reporter: Jakub Scholz


I have a very simple program - it tries to connect, create session, consumer and read messages in a loop. When exception is raised it tries to close connection (if connection exists) and finishes.

However, when the attempt to open the SSL connection (amqps) is unsuccessful (for example nobody is listening on the specified port), the program seems to never exit.

I don't think there is a mistake in my program - it almost looks to me like the problem is the nioEventLoop, which seems to have a thread still running at the end when the program keeps hanging.

My source code as well as the thread dump can be found here: https://gist.github.com/scholzj/c8a3f3b534bbb0d973d9





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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