Re: [Dev] Exception when Invoking GmailConnector ReadMailMessage Operation

2014-05-31 Thread Udara Liyanage
Hi Sewwandi, Still if a client set sequent=false he might get the same error. Either the bug should be fixed or limitation should be documented. IMO it is better to fix it since it is a valid scenario for a client to set it false in case he expects parallel processing. Touched, not typed.

[Dev] Exception when Invoking GmailConnector ReadMailMessage Operation

2014-05-29 Thread Isuru Ranawaka
Hi all, When invoking ReadMailMessage operation in GmailConnector in a loop.After reading few messages it starts to give following error. INFO - GmailReadMailMessage Loading the IMAPStore [2014-05-29 19:48:42,838] INFO - GmailIMAPClientLoader Retriving the prestored IMAPstore instance

Re: [Dev] Exception when Invoking GmailConnector ReadMailMessage Operation

2014-05-29 Thread Sewwandi Perera
Hi Isuru, Can you please attach your ESB configuration here. Thanks, On Thu, May 29, 2014 at 8:10 PM, Isuru Ranawaka isu...@wso2.com wrote: Hi all, When invoking ReadMailMessage operation in GmailConnector in a loop.After reading few messages it starts to give following error. INFO -

Re: [Dev] Exception when Invoking GmailConnector ReadMailMessage Operation

2014-05-29 Thread Isuru Ranawaka
Hi sewwandi, Files are attached. thanks isurur On Thu, May 29, 2014 at 10:08 PM, Sewwandi Perera sewwa...@wso2.com wrote: Hi Isuru, Can you please attach your ESB configuration here. Thanks, On Thu, May 29, 2014 at 8:10 PM, Isuru Ranawaka isu...@wso2.com wrote: Hi all, When

Re: [Dev] Exception when Invoking GmailConnector ReadMailMessage Operation

2014-05-29 Thread Sewwandi Perera
Hi Isuru, You have identified the root cause correctly. All Gmail message reading operations use the same IMAPStore instance which is created during the initial authentication with the connector. So, as u said, due to the parallel invocation of gmail.readMailMessage operation, the [Gmail]/All

Re: [Dev] Exception when Invoking GmailConnector ReadMailMessage Operation

2014-05-29 Thread Isuru Ranawaka
Hi sewwandi, Thanks for your reply and now its working. thanks isurur On Thu, May 29, 2014 at 10:44 PM, Sewwandi Perera sewwa...@wso2.com wrote: Hi Isuru, You have identified the root cause correctly. All Gmail message reading operations use the same IMAPStore instance which is created