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

2015-04-17 Thread Robbie Gemmell (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPIDJMS-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robbie Gemmell updated QPIDJMS-42:
--
Affects Version/s: 0.1.0

> 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
>Affects Versions: 0.1.0
>Reporter: Jakub Scholz
>Assignee: Timothy Bish
> Fix For: 0.2.0
>
> 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: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



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

2015-04-15 Thread Jakub Scholz (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPIDJMS-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jakub Scholz updated QPIDJMS-42:

Attachment: qpidjms42.tar

Maven based reproducer.

> 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
> 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: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org