activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Davies <rajdav...@gmail.com>
Subject Re: Using one session per message
Date Mon, 28 Jan 2008 08:18:32 GMT
thx James - I need caffeine!

On Jan 28, 2008, at 7:20 AM, James Strachan wrote:

> Its called failover the URI to use btw...
> http://activemq.apache.org/how-do-i-configure-automatic-reconnection.html
>
>
> On 28/01/2008, Rob Davies <rajdavies@gmail.com> wrote:
>>
>> On Jan 27, 2008, at 9:28 PM, Marco Buss wrote:
>>
>>> Rob Davies schrieb:
>>>>
>>>> On Jan 27, 2008, at 12:22 AM, tpamsler wrote:
>>>>
>>>>>
>>>>> Marco,
>>>>>
>>>>> Thank you for the response.  Are there limitations on how long a
>>>>> session can
>>>>> stay open and the number of messages it can handle? If I use the
>>>>> 2nd example
>>>>> in our application, the session may stay open for a few weeks.
>>>>>
>>>>> Best,
>>>>> -- Thomas
>>>>>
>>>>>
>>>>> Marco Buss wrote:
>>>>>>
>>>>>> You only need one session for your Messages. So your 2nd example
>>>>>> is ok.
>>>>>>
>>>>>
>>>>> --View this message in context: http://www.nabble.com/Using-one-session-per-message-tp15114117s2354p15114519.html
>>>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>>>
>>>> There is no limit to how long a session is open - so weeks will be
>>>> ok ;)
>>>>
>>>> cheers,
>>>>
>>>> Rob
>>> And what happens if the connection fails (timeout on tcp)?
>>
>> If you use the reliable transport you get automatic reconnection -  
>> see http://activemq.apache.org/uri-protocols.html
>> This includes getting a replay of the clients state - so from the
>> developers point of view, a failure/reconnect is seamless.
>>
>> cheers,
>>
>> Rob
>>
>>
>
>
> -- 
> James
> -------
> http://macstrac.blogspot.com/
>
> Open Source Integration
> http://open.iona.com


Mime
View raw message