Re: Sender Capacity and error handling

2011-05-16 Thread Gordon Sim
On 05/13/2011 11:21 AM, Ilyushonak Barys wrote: Gordon, thanks again for detailed explanation. 2. I would like to cache qpid connection and session objects to increase producer performance. Not sure what you mean here. You mean you want to avoid recreating a connection/session each time you

Re: Sender Capacity and error handling

2011-05-13 Thread Gordon Sim
- From: Gordon Sim [mailto:g...@redhat.com] Sent: Wednesday, May 11, 2011 8:09 PM To: users@qpid.apache.org Subject: Re: Sender Capacity and error handling On 05/11/2011 02:26 PM, Ilyushonak Barys wrote: Gordon, Thank you very much for quick response. We have decided to use reconnect_timeout

RE: Sender Capacity and error handling

2011-05-13 Thread Ilyushonak Barys
@qpid.apache.org Subject: Re: Sender Capacity and error handling On 05/12/2011 07:40 AM, Ilyushonak Barys wrote: Gordon, thank you very much for the answer. It really helpful. The case I would like to solve concern message producer written in C++. The main thing - do not loose messages (at least

RE: Sender Capacity and error handling

2011-05-12 Thread Ilyushonak Barys
[mailto:g...@redhat.com] Sent: Wednesday, May 11, 2011 8:09 PM To: users@qpid.apache.org Subject: Re: Sender Capacity and error handling On 05/11/2011 02:26 PM, Ilyushonak Barys wrote: Gordon, Thank you very much for quick response. We have decided to use reconnect_timeout and close session

Sender Capacity and error handling

2011-05-11 Thread Ilyushonak Barys
Greetings. Could you please help me to answer on the following question: how can I handle exceptions while synchronous send? The docs says: If the connection fails and is transparently reconnected (see Section 2.10, Connection Options for details on how to control this feature), the unsettled

Re: Sender Capacity and error handling

2011-05-11 Thread Gordon Sim
On 05/11/2011 12:55 PM, Ilyushonak Barys wrote: Greetings. Could you please help me to answer on the following question: how can I handle exceptions while synchronous send? The docs says: If the connection fails and is transparently reconnected (see Section 2.10, Connection Options for

RE: Sender Capacity and error handling

2011-05-11 Thread Ilyushonak Barys
-Original Message- From: Gordon Sim [mailto:g...@redhat.com] Sent: Wednesday, May 11, 2011 5:08 PM To: users@qpid.apache.org Subject: Re: Sender Capacity and error handling On 05/11/2011 12:55 PM, Ilyushonak Barys wrote: Greetings. Could you please help me to answer on the following question

Re: Sender Capacity and error handling

2011-05-11 Thread Gordon Sim
On 05/11/2011 02:26 PM, Ilyushonak Barys wrote: Gordon, Thank you very much for quick response. We have decided to use reconnect_timeout and close session on exception. Could you please provide some best practice for error handling with messaging API? Hard to answer that without more