You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Vinicius Carvalho <ja...@gmail.com> on 2011/07/26 17:26:28 UTC

Connections not being closed

Hi lads,

During our integration of camel + hornetq + cdi we did a small smoke test.
We send 10k messages to a concurrentConsumer (maxConsumers=5), and after it
finishes, HornetQ is reporting unclosed connections:

16:20:40,677 WARN
 [org.hornetq.core.protocol.core.impl.RemotingConnectionImpl]
(hornetq-failure-check-thread) Connection failure has been detected: Did not
receive data from /127.0.0.1:60495. It is likely the client has exited or
crashed without closing its connection, or the network between the server
and client has failed. You also might have configured connection-ttl and
client-failure-check-period incorrectly. Please check user manual for more
information. The connection will now be closed. [code=3]

We got a total of 50 warnings like this. trying on a non intensive scenario
were we just send a couple of messages, sleep for few minutes and repeat the
process this does not happens.

We are using Camel 2.7.2. I've heard so many complaints about spring-jms and
polling consuming, but I can't say if this is the problem, I never had
problems before.

My problem now is that I have no clue if this is a issue on camel, spring or
hornet, so I'm trying to discard each one. Any hints on where I could start?

Regards