activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: Activemq does not recover from a closed connection using ssl
Date Thu, 28 Feb 2013 14:15:51 GMT
You might be seeing the "half closed" socket issue:

https://issues.apache.org/jira/browse/AMQ-1993
https://issues.apache.org/jira/browse/AMQ-3300

use ?transport.soWriteTimeout option to configure a timeout for half-closed
sockets


On Thu, Feb 28, 2013 at 6:50 AM, michal <michal@leadspace.com> wrote:

> Hi, I am seeing a scenario where a connection is closed between a activemq
> client and activemq service(can  be simulated by closing the connection in
> firewall).
> As a result, the activemq does not see that the connection is closed, it
> keeps it up and so there is no attempt to reconnect. So as a result, the
> client does not receive messages since the connection is not really up.
>
> I use ssl for connection:
> This is the connection configuration i use:
>
> AMQ:
> <transportConnector name="ssl"
> uri="ssl://
> 0.0.0.0:61616?trace=true&amp;wireFormat.maxInactivityDuration=0&amp;soTimeout=60000&amp;connectionTimeout=60000
> "
> />
>
> Client:
> <property name="brokerURL"
>
> value="failover:(${messaging.statistics.broker.url})?randomize=false&amp;timeout=${messaging.broker.timeout}"
> />
>
> Any ideas? is something missing from my configuration?
> thanks
>
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Activemq-does-not-recover-from-a-closed-connection-using-ssl-tp4664254.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

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