Re: [Dev] Exception when Invoking GmailConnector "ReadMailMessage" Operation

2014-05-31 Thread Malaka Silva
Hi Udara, Please add a jira similar to [1] We will not do changes to the released version. May be we can consider this in next version. [1] https://wso2.org/jira/browse/ESBJAVA-2768 Best Regards, Malaka On Sat, May 31, 2014 at 5:08 AM, Udara Liyanage wrote: > > Hi Sewwandi, > > Still if a c

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. Erron

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 wrote: > Hi Isuru, > > You have identified the root cause correctly. > > All Gmail message reading operations use the same IMAPStore instance which > is created during the i

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, Files are attached. thanks isurur On Thu, May 29, 2014 at 10:08 PM, Sewwandi Perera wrote: > Hi Isuru, > > Can you please attach your ESB configuration here. > > Thanks, > > > On Thu, May 29, 2014 at 8:10 PM, Isuru Ranawaka wrote: > >> Hi all, >> >> When invoking ReadMailMessag

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 wrote: > Hi all, > > When invoking ReadMailMessage operation in GmailConnector in a loop.After > reading few messages it starts to give following error. > > > INFO - GmailRead

[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 [2014-05