Hi Doug Ah a good point. Maybe if Camel could set the SEEN flag on completion of the route. However the mail connection/session needs to be "online" for the duration of the exchange processing. But in your route that is just 1millis since it just goes through some java code and into a seda queue.
Otherwise / And we might need to add some plugin feature so end users easily can do what they want, setting/clearing flags etc. Please feel free to create a ticket for this new feature. /Claus Ibsen Apache Camel Committer Blog: http://davsclaus.blogspot.com/ On Tue, Dec 9, 2008 at 8:09 PM, dougly <[EMAIL PROTECTED]> wrote: > > Hi Camel Riders, > > Is there anybody know how to reset the seen flag for IMAP for Camel's mail > component? > Suppose I have the following route: > > from("imap:localhost?username=user&password=user").process(new > MyProcessor()).to("seda:start"); > > If exception thrown in the process, I would like to reset the SEEN flag of > the current message to that it can be read again in the above route. > > Thanks > Doug > -- > View this message in context: > http://www.nabble.com/Mail-Component---Set-SEEN-Flag-tp20921414s22882p20921414.html > Sent from the Camel - Users mailing list archive at Nabble.com. > >
