Robbie Gemmell created QPIDJMS-219:
--------------------------------------

             Summary: allow MessageListeners to be used when prefetch is 
configured to 0 
                 Key: QPIDJMS-219
                 URL: https://issues.apache.org/jira/browse/QPIDJMS-219
             Project: Qpid JMS
          Issue Type: Improvement
          Components: qpid-jms-client
    Affects Versions: 0.11.1
            Reporter: Robbie Gemmell
            Assignee: Robbie Gemmell
             Fix For: 0.20.0


Currently if prefetch is configured to 0 via the URI, the client will refuse to 
let you register a MessageListener with a consumer, requiring it to be set to 
at least 1. This means you can't do no-prefetch synchronous receives and 
asynchonous listeners on the same connection (without resorting to use of code 
to configure custom prefetch policies for each consumer).

Allow listeners when prefetch is set to 0, issuing a single credit when it is 
registered, and then after each message is consumed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to