You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Rajesh Malla (JIRA)" <ji...@apache.org> on 2017/12/28 11:21:00 UTC
[jira] [Created] (AMQ-6877) http connector - queuePrefetch=0 not
working
Rajesh Malla created AMQ-6877:
---------------------------------
Summary: 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
Affects Versions: 5.13.2, 5.12.3, 5.13.1, 5.12.1
Reporter: Rajesh Malla
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 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)