[
https://issues.apache.org/jira/browse/QPIDJMS-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Bish reassigned QPIDJMS-42:
-----------------------------------
Assignee: Timothy Bish
> 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
> Assignee: Timothy Bish
> Attachments: qpidjms42.tar
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]