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

[jira] Created: (QPID-455) Prefetched messages can cause problems with client tools.

Prefetched messages can cause problems with client tools. 
----------------------------------------------------------

                 Key: QPID-455
                 URL: https://issues.apache.org/jira/browse/QPID-455
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker, Java Client
            Reporter: Martin Ritchie
         Assigned To: Martin Ritchie
             Fix For: M2


When using tools such as MULE. That create consumers on a session and never use those consumers the prefetch will cause things to break as that consumer will get messages and hold on to them till the session or consumer is closed.

An approach would be Flow control until until a message listener is set or receive is called then Flow (true ) the messages.

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


[jira] Resolved: (QPID-455) Prefetched messages can cause problems with client tools.

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Ritchie resolved QPID-455.
---------------------------------

    Resolution: Fixed

Completed: At revision: 529666  


> Prefetched messages can cause problems with client tools. 
> ----------------------------------------------------------
>
>                 Key: QPID-455
>                 URL: https://issues.apache.org/jira/browse/QPID-455
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Java Client
>            Reporter: Martin Ritchie
>         Assigned To: Martin Ritchie
>             Fix For: M2
>
>
> When using tools such as MULE. That create consumers on a session and never use those consumers the prefetch will cause things to break as that consumer will get messages and hold on to them till the session or consumer is closed.
> An approach would be Flow control until until a message listener is set or receive is called then Flow (true ) the messages.

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


[jira] Commented: (QPID-455) Prefetched messages can cause problems with client tools.

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490021 ] 

Martin Ritchie commented on QPID-455:
-------------------------------------


Changes to both broker and client code were required. However setting system property REGISTER_CONSUMERS_FLOWED=true for now will ensure that sessions only start prefetching messages at the point that they actually request messages.

The introduction of this mechanism has highlighted several other bugs within the broker code.

Such as Pub/Sub not working correctly and no_local also seems to be affected.

Separate JIRAs will be raised for each of these problems.

> Prefetched messages can cause problems with client tools. 
> ----------------------------------------------------------
>
>                 Key: QPID-455
>                 URL: https://issues.apache.org/jira/browse/QPID-455
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Java Client
>            Reporter: Martin Ritchie
>         Assigned To: Martin Ritchie
>             Fix For: M2
>
>
> When using tools such as MULE. That create consumers on a session and never use those consumers the prefetch will cause things to break as that consumer will get messages and hold on to them till the session or consumer is closed.
> An approach would be Flow control until until a message listener is set or receive is called then Flow (true ) the messages.

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