Hi Claus,
thanks for the info! But it looks like the problem is somewhere else.

I tried to:
- create a class that implements
org.apache.camel.component.mail.MailBoxPostProcessAction but that interface
is not existent, so the compiler says
"org.apache.camel.component.mail.MailBoxPostProcessAction cannot be resolved
to a type";
- tried to enable the post process on an object that doesn't implement that
interface, called emailPostProcess, by adding the
postProcessAction=#emailPostProcess parameter but the compiler says:

org.apache.camel.RuntimeCamelException:
org.apache.camel.FailedToCreateRouteException: Failed to create route
test-mail: Route(test-mail)[[From[{{as-props.in-protocol}}:/... because of
Failed to resolve endpoint:
imap://mailserver?mapMailMessage=false&password={{pwd}}&postProcessAction=%23emailPostProcess&username={{usr}}
due to: Failed to resolve endpoint:
imap://mailserver?mapMailMessage=false&password={{pwd}}&postProcessAction=%23emailPostProcess&username={{usr}}
due to: There are 1 parameters that couldn't be set on the endpoint. Check
the uri if the parameters are spelt correctly and that they are properties
of the endpoint. Unknown parameters=[{postProcessAction=#emailPostProcess}]

Is this due to the missing interface implementation on my "emailPostProcess"
class or there is something else missing somewhere?

Thank you for your help!
A.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Mail-copyTo-not-working-and-MailBoxPostProcessAction-not-found-tp5759776p5761363.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to