camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awillia <antony.willi...@fronde.com>
Subject Mail consumer not able to delete a message
Date Thu, 01 Dec 2011 22:07:38 GMT
I am using imap to read messages from a folder and am getting the following
two exceptions for some messages.

I saw another thread that referred to this and suggested that use the
disconnect option that was put into 2.8.3. I have moved to this version but
it doesn't fix the problem. 

does anybody have any suggestion for what might cause this?

Error occurred during flagging message as DELETED/SEEN
javax.mail.MessagingException: A3 BAD Error in IMAP command STORE: Invalid
messageset;
  nested exception is:
        com.sun.mail.iap.BadCommandException: A3 BAD Error in IMAP command
STORE: Invalid messageset
        at com.sun.mail.imap.IMAPMessage.setFlags(IMAPMessage.java:884)
        at javax.mail.Message.setFlag(Message.java:578)
        at
org.apache.camel.component.mail.MailConsumer.processCommit(MailConsumer.java:339)

Error occurred during flagging message as DELETED/SEEN
javax.mail.FolderClosedException
at com.sun.mail.imap.IMAPMessage.getProtocol(IMAPMessage.java:145)
at com.sun.mail.imap.IMAPMessage.setFlags(IMAPMessage.java:878)
at javax.mail.Message.setFlag(Message.java:578)
at
org.apache.camel.component.mail.MailConsumer.processCommit(MailConsumer.java:314)


regards
Antony

--
View this message in context: http://camel.465427.n5.nabble.com/Mail-consumer-not-able-to-delete-a-message-tp5040057p5040057.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message