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

Rob Godfrey reassigned QPID-5522:
---------------------------------

    Assignee: Rob Godfrey

> TransactionController endless wait when the TCP/IP connection is lost
> ---------------------------------------------------------------------
>
>                 Key: QPID-5522
>                 URL: https://issues.apache.org/jira/browse/QPID-5522
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.24
>         Environment: Windows, Linux
>            Reporter: daniel
>            Assignee: Rob Godfrey
>
> Endless wait in class org.apache.qpid.amqp_1_0.client.TransactionController
> The following lines of code seem to block the thread forever when the TCP/IP 
> connection is lost:
> synchronized (this)
>         {
>             while(!_received)
>             {
>                 try
>                 {
>                     wait();
>                 }
>                 catch (InterruptedException e)
>                 {
>                 }
>             }
>         }
> this code is present at discharge() and declare().
> Steps to reproduce:
> 1) Open a connection to a instance of ActiveMQ
> 2) Create transacted session and message producer
> 3) Shut ActiveMQ down
> 4) Send a message with the message producer created on 2)
> 5) Commit session
> 6) Endless wait
> The wait will also happen if the session/connection is closed at 5)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to