Re: Connection creation timeout setting

2009-01-16 Thread Bruce Snyder
On Fri, Jan 16, 2009 at 1:46 PM, icfantv wrote: > > Bruce- > > Yah, I just discovered that and posted a response to myself for posterity. > > Let me make sure I understand the failover transport correctly: It will, by > default, attempt to reconnect every 30 seconds indefinitely until an > ActiveM

Re: Connection creation timeout setting

2009-01-16 Thread icfantv
tionality does not exist > currently. > > Bruce > -- View this message in context: http://www.nabble.com/Connection-creation-timeout-setting-tp21490199p21508121.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Connection creation timeout setting

2009-01-16 Thread Bruce Snyder
On Fri, Jan 16, 2009 at 1:14 PM, icfantv wrote: > > So, "technically" timeouts are supported for TCP Transports. Here are the > URI configuration parameters: > http://activemq.apache.org/tcp-transport-reference.html > http://activemq.apache.org/tcp-transport-reference.html Yes, the connectionTim

Re: Connection creation timeout setting

2009-01-16 Thread icfantv
t related methods in the connection object but > don't see anything specifically related to connection timeouts. > > Thanks in advance, > > --adam > -- View this message in context: http://www.nabble.com/Connection-creation-timeout-setting-tp21490199p21507617.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Connection creation timeout setting

2009-01-16 Thread Bruce Snyder
On Fri, Jan 16, 2009 at 8:27 AM, icfantv wrote: > > I'm trying to create a connection such that it will time out if the ActiveMQ > server isn't running rather than blocking indefinitely. If I do it in a > background thread and it never connects, but rather, blocks indefinitely, > Java provides no

Re: Connection creation timeout setting

2009-01-16 Thread icfantv
d methods in the connection object but don't >> see >> anything specifically related to connection timeouts. > > There are no such timeouts on the ActiveMQConnection. What is it that > you're trying to achieve exactly? > > Bruce > -- > perl -e 'pri

Re: Connection creation timeout setting

2009-01-15 Thread Bruce Snyder
On Thu, Jan 15, 2009 at 5:31 PM, icfantv wrote: > > Hi- > > Did a cursory search but didn't find anything related to this so I apologize > in advance if it's been asked and answered - I didn't see it. > > Is there a way to set a connection timeout on the connection factory class > such that the th

Connection creation timeout setting

2009-01-15 Thread icfantv
is successfully made? I see several timeout related methods in the connection object but don't see anything specifically related to connection timeouts. Thanks in advance, --adam -- View this message in context: http://www.nabble.com/Connection-creation-timeout-setting-tp21490199p21490199.ht