Re: Where can I find the JMS connection reconnection logic in activemq(-client) source?

2017-01-01 Thread Tim Bain
. > > Thanks > Jaspreet > > > > > -- > View this message in context: http://activemq.2283324.n4. > nabble.com/Where-can-I-find-the-JMS-connection-reconnection-logic-in- > activemq-client-source-tp4720765.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >

Where can I find the JMS connection reconnection logic in activemq(-client) source?

2016-12-29 Thread Jaspreet Kaur
nks Jaspreet -- View this message in context: http://activemq.2283324.n4.nabble.com/Where-can-I-find-the-JMS-connection-reconnection-logic-in-activemq-client-source-tp4720765.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Artemis automatic client reconnection?

2016-10-21 Thread Marko Asplund
econnectAttempts() on the ServerLocator object before you use it. > > There's a couple of other parameters you can configure to control reconnection (e.g. retryInterval, > retryIntervalMultiplier). > > You can also check out the "reattach-node" example shipped with Artemis to see a working example. > > > Justin

Re: Artemis automatic client reconnection?

2016-10-21 Thread Justin Bertram
ther parameters you can configure to control reconnection (e.g. retryInterval, retryIntervalMultiplier). You can also check out the "reattach-node" example shipped with Artemis to see a working example. Justin - Original Message - From: "Marko Asplund" To: "

Artemis automatic client reconnection?

2016-10-21 Thread Marko Asplund
Hi, How do I get an Artemis client session to automatically reconnect after a transient network disconnect or a server restart? Messages are consumed using the Artemis Core API message handler, so consumer processes are long-running and only create an Artemis client session at startup. Currently,

failover broker reconnection delay

2016-09-13 Thread domenicod
2 and vice versa. If broker1 and broker2 are running and broker1 is disconnected (knock off LAN) then client connect to broker2 after a delay of 10-15 seconds and not immediately, the connection to broker1 is down immediately using InactivityMonitor but the reconnection has a delay. There is a way i

ActiveMQ Artemis Reconnection/Disconnect notification.

2016-07-22 Thread anton.mithun
ECT will not be send until reattempts are done, which are infinite attempts ! How can I get notified for both these events? Thanks. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-Artemis-Reconnection-Disconnect-notification-tp4714293.html Sent from the ActiveMQ

Re: JMS to JMS bridge reconnection dispatching not working in simple conditions

2014-09-02 Thread pollotek
connectors. -- View this message in context: http://activemq.2283324.n4.nabble.com/JMS-to-JMS-bridge-reconnection-dispatching-not-working-in-simple-conditions-tp4684887p4685246.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: JMS to JMS bridge reconnection dispatching not working in simple conditions

2014-08-30 Thread artnaseef
Hmm, it looks like there are two reentrant locks. Are there 2 brokers running in the same JVM connecting over a network connector with the VM transport? -- View this message in context: http://activemq.2283324.n4.nabble.com/JMS-to-JMS-bridge-reconnection-dispatching-not-working-in-simple

Re: JMS to JMS bridge reconnection dispatching not working in simple conditions

2014-08-30 Thread artnaseef
the same thread. -- View this message in context: http://activemq.2283324.n4.nabble.com/JMS-to-JMS-bridge-reconnection-dispatching-not-working-in-simple-conditions-tp4684887p4685180.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: JMS to JMS bridge reconnection dispatching not working in simple conditions

2014-08-29 Thread pollotek
to the discussion > below: > > http://activemq.2283324.n4.nabble.com/JMS-to-JMS-bridge-reconnection-dispatching-not-working-in-simple-conditions-tp4684887p4684969.html > To unsubscribe from JMS to JMS bridge reconnection dispatching not > working in simple conditions, click here >

Re: JMS to JMS bridge reconnection dispatching not working in simple conditions

2014-08-28 Thread artnaseef
, the next step that I would try is grabbing a stack trace. Is you don't want to do that, no worries. Other than leading to the annoyance of needing a kill -9, is there any other impact? -- View this message in context: http://activemq.2283324.n4.nabble.com/JMS-to-JMS-bridge-reconnec

Re: JMS to JMS bridge reconnection dispatching not working in simple conditions

2014-08-22 Thread pollotek
g here? Is there a flag I missed in my configuration? Is there a migration guide that I didn't see? I can supply test cases for this, logs, heap dumps or thread dumps if it helps getting this fixed. -- View this message in context: http://activemq.2283324.n4.nabble.com/JMS-to-JMS-brid

JMS to JMS bridge reconnection dispatching not working in simple conditions

2014-08-21 Thread pollotek
Hi, I'm testing ActiveMQ 5.10 trying to migrate from 5.6 in hopes to fix a variety of dispatching issues I've been dealing with for a while. I'm running the following topology to verify producer/consumer dispatching on reconnection works as it does in 5.6. This is my topo

Re: Failover reconnection questions

2011-09-22 Thread RickSnz
le.com/Failover-reconnection-questions-tp3826592p3832930.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Failover reconnection questions

2011-09-20 Thread RickSnz
values for both ReconnectDelay values and the same happens. Any idea? -- View this message in context: http://activemq.2283324.n4.nabble.com/Failover-reconnection-questions-tp3826592p3827219.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Failover reconnection questions

2011-09-20 Thread RickSnz
values for both ReconnectDelay values and the same happens. Any idea? -- View this message in context: http://activemq.2283324.n4.nabble.com/Failover-reconnection-questions-tp3826592p3827215.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Failover reconnection questions

2011-09-20 Thread Gary Tully
o, if before stopping the second broker, i start again the first one, the > same happens, the program crashes. > > I'd like to know if this is the right behaviour and, in that case, if > something can be done to make it work as i want. > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Failover-reconnection-questions-tp3826592p3826592.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- http://fusesource.com http://blog.garytully.com

Failover reconnection questions

2011-09-20 Thread RickSnz
is is the right behaviour and, in that case, if something can be done to make it work as i want. -- View this message in context: http://activemq.2283324.n4.nabble.com/Failover-reconnection-questions-tp3826592p3826592.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reconnection

2011-01-17 Thread lernen.2007
http://activemq.2283324.n4.nabble.com/Reconnection-tp3221099p3221099.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reconnection after broker goes down, then back up

2009-10-21 Thread Drizzt321
orker threads supposed to be actually doing something? Is there something I should be doing in my code to tell it to shut these down properly, or to have the ActiveMQ client library do its own reconnection without me having to do much if any work? This is all on v5.1. My sysadmin is rather cons

Re: Reconnection

2009-04-06 Thread dongabda
on, but any >> exception is >> captured when the PC lost the network link. If I stop the >> messagebroker the >> exception occurs, but with link lost not. How can I resolve it? >> >> -- >> View this message in context: >> http://www.nabble.c

Re: Reconnection

2009-03-26 Thread dongabda
t;> exception is >> captured when the PC lost the network link. If I stop the >> messagebroker the >> exception occurs, but with link lost not. How can I resolve it? >> >> -- >> View this message in context: >> http://www.nabble.com/Reconnectio

Re: Reconnection

2009-03-26 Thread Andreas Gies
p the messagebroker the exception occurs, but with link lost not. How can I resolve it? -- View this message in context: http://www.nabble.com/Reconnection-tp22663516p22677750.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. --- Mit freundlichen GrĂ¼ssen - Kind Regards Andreas

Re: Reconnection

2009-03-26 Thread dongabda
> > > -- > Tim Bish > http://fusesource.com > http://timbish.blogspot.com/ > > > > > -- View this message in context: http://www.nabble.com/Reconnection-tp22663516p22725563.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Reconnection

2009-03-26 Thread Timothy Bish
On Thu, 2009-03-26 at 02:11 -0700, dongabda wrote: > Yes, I'm using the excepcionListener and onException, but any exception is > captured when the PC lost the network link. If I stop the messagebroker the > exception occurs, but with link lost not. How can I resolve it? > What OS are you

Re: Reconnection

2009-03-26 Thread dongabda
Yes, I'm using the excepcionListener and onException, but any exception is captured when the PC lost the network link. If I stop the messagebroker the exception occurs, but with link lost not. How can I resolve it? -- View this message in context: http://www.nabble.com/Reconne

Re: Reconnection

2009-03-24 Thread Timothy Bish
On Tue, 2009-03-24 at 00:46 -0700, dongabda wrote: > Hi, > I saw that the consumer doesn't give any exception, it apparently works > without net link, but after restore the link the consumer doesn't receive > nothing. How can I know if the connection is down? How can I reconnect it? I > saw the CMS

Re: Reconnection

2009-03-24 Thread dongabda
message. >> Why? What can I do to continue receiving messages? >> -- >> View this message in context: >> http://www.nabble.com/Reconnection-tp22663516p22663516.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> > > --- > Mit freundli

Re: Reconnection

2009-03-23 Thread Andreas Gies
the link, the consumer never receives any message. Why? What can I do to continue receiving messages? -- View this message in context: http://www.nabble.com/Reconnection-tp22663516p22663516.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. --- Mit freundlichen GrĂ¼ssen - Kind

Reconnection

2009-03-23 Thread dongabda
, producer and consumer) if the consumer or producer lost the link, any exception is launched, and after restore the link, the consumer never receives any message. Why? What can I do to continue receiving messages? -- View this message in context: http://www.nabble.com/Reconnection

Re: reconnection to unavailable broker causing thread/memory leak

2008-02-19 Thread wlam
t; > Rob > > -- View this message in context: http://www.nabble.com/reconnection-to-unavailable-broker-causing-thread-memory-leak-tp13143554s2354p15561399.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: reconnection to unavailable broker causing thread/memory leak

2007-10-31 Thread nkiesel
. Any idea if and where that is fixed in 5.0? I'd like to backport the fix if possible as I can't upgrade to 5.0 at this point. -- View this message in context: http://www.nabble.com/reconnection-to-unavailable-broker-causing-thread-memory-leak-tf4603206s2354.html#a13522716 Sent from th

Re: reconnection to unavailable broker causing thread/memory leak

2007-10-22 Thread Rob Davies
this issue has been resolved in 5.0.0.4-fuse. Regards, Roger -- View this message in context: http://www.nabble.com/reconnection-to- unavailable-broker-causing-thread-memory-leak- tf4603206s2354.html#a13356427 Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: reconnection to unavailable broker causing thread/memory leak

2007-10-22 Thread Fred Crable
Whate is 5.0.0.4-fuse?? All of the snapshot builds are by date. Thanks, Fred Roger Bryant wrote: > > Apparently this issue has been resolved in 5.0.0.4-fuse. > > Regards, > > Roger > > > > -- View this message in context: http://www.nabble.com/reco

Re: reconnection to unavailable broker causing thread/memory leak

2007-10-19 Thread Roger Bryant
Apparently this issue has been resolved in 5.0.0.4-fuse. Regards, Roger -- View this message in context: http://www.nabble.com/reconnection-to-unavailable-broker-causing-thread-memory-leak-tf4603206s2354.html#a13298013 Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: reconnection to unavailable broker causing thread/memory leak

2007-10-17 Thread yaussy
; bug. I intend to follow up on it in the next few days and will keep you > posted. > > Rgds, > > Roger > > -- View this message in context: http://www.nabble.com/reconnection-to-unavailable-broker-causing-thread-memory-leak-tf4603206s2354.html#a13254130 Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: reconnection to unavailable broker causing thread/memory leak

2007-10-16 Thread Roger Bryant
://www.nabble.com/reconnection-to-unavailable-broker-causing-thread-memory-leak-tf4603206s2354.html#a13230140 Sent from the ActiveMQ - User mailing list archive at Nabble.com.

reconnection to unavailable broker causing thread/memory leak

2007-10-10 Thread Fred Crable
er of threads is growing by about a dozen or more after every failed reconnection. This accounts for the memory leak because of all the threads. I'm posting to see if this is an old issue or a new introduced issue as I'm running the top of head from 5.0 build 20071008.215641-19. I don't

reconnection in a network of brokers

2007-03-22 Thread tommy.li
50904165-1:0, brokerURL = tcp://emv137:61616, slaveBroker = false, masterBroker = false, faultTolerantConfiguration = false, networkConnection = false, duplexConnection = false, peerBrokerInfos = [], brokerName = emv137, connectionId = 0} Thanks. -- View this message in context: http://www.nabble.

Re: [Spam: 5.0] Disconnection and reconnection in a network of brokers

2007-03-08 Thread drvillo
; > Could you try a recent 4.1-SNAPSHOT? > > It might be worth reading the last comment on this issue... > http://issues.apache.org/activemq/browse/AMQ-734 > > basically in new versions failover=true is no longer required > -- > > James > --- > http:/

Re: [Spam: 5.0] Disconnection and reconnection in a network of brokers

2007-03-08 Thread James Strachan
On 3/8/07, drvillo <[EMAIL PROTECTED]> wrote: Hi I have just found out myself the same... I would like to have some clarification on this as either the wording failover is misleading, or there is something weird going on here. If I specify failover=true in my networkConnector I can see that t

Re: [Spam: 5.0] Disconnection and reconnection in a network of brokers

2007-03-08 Thread drvillo
t;>>>> *_No broker-config.xml_* >>>>> *__* >>>>> >>>>> >>>>> If the servers are on line during all the operations, everything goes >>>>> well : messages are published and received by all. >>>>> The problems came when I disconnected Server 1. >>>>> a) Server 3 published a message on its topic : server 2 received it. >>>>> But >>>>> when server 1 came back online, it did *not* get the message. >>>>> b) Server 1 sent a message on its queue and then came back online : >>>>> Server 3 did not receive it. >>>>> >>>>> >>>>> 2) Thinking it may be due to >>>>> http://issues.apache.org/activemq/browse/AMQ-895, >>>>> <http://issues.apache.org/activemq/browse/AMQ-895>I've used the patch >>>>> for ActiveMQ 4.0.2 with the same configuration files but the problem >>>>> still remains. >>>>> >>>>> >>>>> 3) My third tests was with ActiveMQ 4.1. The configuration was >>>>> quite the same : >>>>> *_activemq.xml, Server 1 : >>>>> _*(...) >>>>> >>>>>>>>> uri="tcp://localhost:61616" brokerName="${hostname}"/> >>>>> >>>>> >>>>> >>>>>>>>> uri="static://(tcp://100.29.191.227:61616)" failover="true" >>>>> networkTTL="255" brokerName="${hostname}"/> >>>>> >>>>> (...) >>>>> >>>>> *_Server 2 :_* >>>>> (...) >>>>>>>>> uri="static://(tcp://100.29.191.227:61616)" failover="true" >>>>> networkTTL="255" brokerName="${hostname}"/> >>>>> (...) >>>>> >>>>> *_Server 3 :_* >>>>> (...) >>>>>>>>> uri="static://(tcp://100.29.191.225:61616,tcp://100.29.191.226:61616)" >>>>> failover="true" networkTTL="255" brokerName="${hostname}"/> >>>>> (...) >>>>> *__* >>>>> All servers stayed online during the test. No disconnection >>>>> Server 3 published a message on its topic. >>>>> Server 2 received it. >>>>> Server 1 sometimes receives the messages, but does not >>>>> receive messages at all. >>>>> >>>>> Am I missing something ? >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>> >>> >> >> > > > -- View this message in context: http://www.nabble.com/Disconnection-and-reconnection-in-a-network-of-brokers-tf2704774s2354.html#a9372086 Sent from the ActiveMQ - User mailing list archive at Nabble.com.