activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pavel <pag...@gmail.com>
Subject CXF + ActiveMQ + CachingConnectionFactory: consumers stop consuming
Date Sat, 19 Jun 2010 15:07:12 GMT
Hi,

We are observing an issue with CXF/SOAP over
JMS/ActiveMQ/CachingConnectionFactory:

Application shares same Spring's CachingConnectionFactory between 3
endpoints and ~5 clients. Clients are called from enpoint web service
methods. Clients use static response queues.

Initially application works well, but at some point clients start timing
out. And ActiveMQ web console shows that
* client response queue has several consumers
* They have non-zero and non-decreasing "Dispatched Queue"
* On each client call, response is returned by target service (we can see
that in the target service log), and "dispatched queue" for one of consumers
increases. Yet at application level there are no indications of response;
nothing is logged with CXF logging interceptor.

We have a load test that reproduces the issue, and a few observations:

* With SingleConnectionFactory everything works.
* setting prefetch size to 1 increases time application works before getting
stuck.
* Setting sessionCacheSize to 1 makes problem disappear (or not reproduce
within reasonable timeframe)
* Other applications that simply expose one endpoint and do not share
connection factory with anything do not exhibit such problem.

Any ideas what could be happening? And why SingleConnectionFactory would
make a difference?
And also, is there a known negative impact from using
SingleConnectionFactory with CXF/ACtiveMQ?

Thanks,
Pavel

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message