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

Rajesh Malla updated AMQ-6877:
------------------------------
    Description: 
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.

  was:
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.


> 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
>         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)

Reply via email to