activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vishva <vishva2...@gmail.com>
Subject Re: activemq consumer does not return data even when queue not empty
Date Tue, 01 Mar 2016 06:53:10 GMT
Thanks artnaseef, for pointing me in the right direction.The issue was mainly
because it was running under JTA transaction, and hence the consumers were
not releasing the connection. So after around 50-100 polls, all the
connections were exhausted.

I was able to fix it by making

TransactionSupport = none

in the resources.xml

my final resources.xml looked like the following

<resources>
<Resource id="MyJmsConnectionFactory" type="javax.jms.ConnectionFactory">
        ResourceAdapter = MyJmsResourceAdapter
        TransactionSupport = none
    </Resource>
</resources>



--
View this message in context: http://activemq.2283324.n4.nabble.com/activemq-consumer-does-not-return-data-even-when-queue-not-empty-tp4708474p4708623.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message