You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2017/12/28 19:36:05 UTC

[jira] [Closed] (AMQ-6877) http connector - queuePrefetch=0 not working

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

Timothy Bish closed AMQ-6877.
-----------------------------
       Resolution: Duplicate
    Fix Version/s: 5.15.1

This was recently fixed, you need to move to 5.15.1 or later

> http connector - queuePrefetch=0 not working
> --------------------------------------------
>
>                 Key: AMQ-6877
>                 URL: https://issues.apache.org/jira/browse/AMQ-6877
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: activemq-camel, JMS client
>    Affects Versions: 5.12.1, 5.13.1, 5.12.3, 5.13.2
>            Reporter: Rajesh Malla
>             Fix For: 5.15.1
>
>         Attachments: SimpleJMS.java, pom.xml
>
>
> We have activemq-broker running with 5.12.1 version, attached SimpleJMS.java & pom.xml [ uses 5.12.3 version of activemq-http, activemq-client].
> In the broker activemq.xml - we have enabled http transport connector
> <transportConnector name="http" uri="http://0.0.0.0:22001" />
> Now
> 1) in our SimpleJMS.java - if we are removing 
>          ((ActiveMQConnection) connection).getPrefetchPolicy().setQueuePrefetch(0);
>     then we are able to send & receive message successfully.
>     If we are setting QueuePrefetch to 0 then Producer is sending message where as Consumer not receiving message :(
> same SimpleJMS with & without QueuePrefetch=0 is working properly with 5.8.0 version & 5.15.2 latest release.
> all our activemq-http,activemq-client, broker all are in same version.
> with 5.8.0 - we used jdk 1.6
> with 5.15.2 - we used jdk 1.8
> with 5.12.3[client] -> 5.12.1[broker] we tried jdk 1.8 & jdk 1.7 but no luck.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)