Thanks Claus,
It works with direct.
Awaiting for the fix.
regards,
Kevin
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-mail-imap-javax-mail-FolderClosedException-tp4796608p4810027.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
The problem is likely that you use the seda in routing from the mail endpoint.
Can you use direct instead?
I have created a ticket to improve this in camel-mail, so closing the
mail folder is an option you can turn on|off.
https://issues.apache.org/jira/browse/CAMEL-4456
On Fri, Sep 16, 2011
Hi Claus,
Sorry for the reply in delay.
I moved back to 2.5.0 and revised code following your advice. still got
following exceptions:
processCommit: OPENED?:true
processCommit:Exchange processed, so flagging message as DELETED:
AAA:closing folder
processCommit:Error occurred during flagging mess
Hi
Could you add some logging in the finally block? As shown below:
} finally {
// need to ensure we release resources
try {
if (folder.isOpen()) {
LOG.info("Closing folder in finally block");
folder.close(tru
Thanks Claus,
It is nice to hear from you.
We are using grails plugin routing 1.1.3,which targets camel 2.5.0.
Following your advice, we copied 2.8.0 code to 2.5.0 and build with mvn.
still have problem:
2011-09-14 12:25:57,042 [Camel Thread 34 - seda://email_process] ERROR
seda.SedaConsumer
Hi
What version of Camel are you using?
You can try upgrading to the latest version if possible.
And what do you do in the seda route? Does it take a long time before
the message is completed?
For example the mailsession could have timeout and closed the mailbox.
On Tue, Sep 13, 2011 at 2:55 A