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 Ilyushonak Barys
y 13, 2011 1:33 PM To: users@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

Re: Sender Capacity and error handling

2011-05-13 Thread Gordon Sim
riginal Message- 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 reconn

RE: Sender Capacity and error handling

2011-05-11 Thread Ilyushonak Barys
rom: 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 >

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 underst

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

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 deta