You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org> on 2007/02/15 17:20:06 UTC

[jira] Assigned: (QPID-321) Simplify logic to deal with setting MessageListener only after connection start has been called

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

Rob Godfrey reassigned QPID-321:
--------------------------------

    Assignee: Rob Godfrey

> Simplify logic to deal with setting MessageListener only after connection start has been called
> -----------------------------------------------------------------------------------------------
>
>                 Key: QPID-321
>                 URL: https://issues.apache.org/jira/browse/QPID-321
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>            Reporter: Rob Godfrey
>         Assigned To: Rob Godfrey
>             Fix For: M2
>
>         Attachments: QPID-321.patch
>
>
> To deal with the case where the client program does not call .setMessageListener until after a connection has been started, we currently have a complicated piece of code which attempts to pause the Disptacher thread, and re-insert any messages which have already been delivered to the synchronous queue.
> Instead, simply do not start the Dispatcher thread until either setMessageListener or receive() has been called.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.