when does BrokerFilter send method get triggered/called?

2012-01-12 Thread reachrichrulez
I want to write a broker plugin that will get invoked very 15 min and do some work. StatisticsBrokerPlugin does something similar when a message appears in the "ActiveMQ.Statistics.Broker" destination. I could organize a timer to put a message in a similar queue every 15 min. I looked up the docs

Re: AMQ does not drop connection on stomp client ungraceful shutdown

2011-07-12 Thread reachrichrulez
I am doing this experiment in dev and there are no firewalls Here is what I have concluded. KeepAlive comes into play when the channel is inactive. In my scenario the broker kept sending the messages. After ~10 minutes the connection disappeared from netstat, so broker closed the connections too

Re: AMQ does not drop connection on stomp client ungraceful shutdown

2011-07-11 Thread reachrichrulez
Martin, Thanks for your response. I set the ?transport.keepAlive=true on the stomp TransportConnector url on the broker, but there was no effect. jconsole still showed the connection for a long time. It appears that this setting relies on the OS tcp_keepalive_time which is defaulted to 2 hours

AMQ does not drop connection on stomp client ungraceful shutdown

2011-07-01 Thread reachrichrulez
we have an AMQ 5.3.2. running on server-1 and two perl stomp consumers on server-2 and server-3 consuming from the same queue. I have 10 messages that are being consumed (5 by each consumer) when I shutdown one consumer gracefully, the other consumer gets the messages instantly. Heres the issue -