You could try setting the prefetch to 1, e.g updating your uri with: jms.prefetchPolicy.all=1. From your description it sounds like you may be hitting https://issues.apache.org/jira/browse/QPIDJMS-292. Setting it to 0 won't work against Service Bus until it implements the AMQP 1.0 link 'drain' functionality, which the earlier discussion on https://issues.apache.org/jira/browse/QPID-7767 suggests it still doesn't.
On 20 May 2017 at 01:30, kapilaArora <[email protected]> wrote: > Hi Rob, > > We do further test and understood behavior of AMQP Client ( Apache Qpid JMS > and JMS Receiver ) . > When data is keep coming on the AMQP Server -Queues/topics- AMQP Client is > able to receive and process the data successfully long running hrs without > any fail or re-delivery of messages. > When huge volume of data accumulated on the AMQP Server- Queues/topics. > AMQP Client receive the re-delivered messages as well as some time it went > out of memory as well. > > We had increased the memory for these process , Still we can see some amount > of Message redelivery and out of memory . > > As per behavior , it's looking like its buffering all the messages in the > memory (available on AMQP server -queues/topic ) . > > Can we apply some configuration on QPID JMS to handle messages by message > processing instead of the way currently it is behaving so that we can get > rid of this message re-delivery and memory issue as well ? > > Current Connection-factory is this on our side for QPID JMS 0.11.1 > amqps://<hostnamewithdomain>?amqp.idleTimeout=150000&jms.username=<username>&jms.password=<pwd>&jms.receiveLocalOnly=true > > > > > > -- > View this message in context: > http://qpid.2158936.n2.nabble.com/Receing-re-delivered-messages-using-Qpid-JMS-0-11-1-with-Azure-Service-Bus-AMQP-Connectivity-tp7663045p7663257.html > Sent from the Apache Qpid users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
