camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen">
Subject RE: processOnlyUnseenMessages=true not working in 1.4.0?
Date Thu, 23 Oct 2008 04:12:15 GMT

Yeah that is the idea.

deleteProcessedMessages=false would NOT delete the mail but set the status to SEEN.
deleteProcessedMessages=true will DELETE the mail

So I guess that even though you have processOnlyUnseenMessages=true then the mail status is
somehow not filtering the SEEN.

What mail server is you using?
Could you try adding some debug logging to org.apache.camel and also the mail debug as well?
debugMode 	 false 	 As of Camel 1.4 its possible to enable the debug mode on the underlying
mail framework. SUN Mail framework will default output to System.out.

Adding debugMode=true to the URI

Med venlig hilsen
Claus Ibsen
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576

-----Original Message-----
From: HockeyDave [] 
Sent: 23. oktober 2008 00:04
Subject: processOnlyUnseenMessages=true not working in 1.4.0?

<route> <!--
&amp;deleteProcessedMessages=true&amp;contentType=multipart/mixed -->
			<to uri="bean:MailReader" />

My expectation is that processOnlyUnseenMessage being true would mean that
my MailReader bean's process method would only be called once per mail
message.  However, unless I set deleteProcessedMessages=true (or leave it
defaulted), then the mail reader bean gets called every 60 seconds for the
same mail message.

Am I missing something?

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message