Hi,
currently I try to build a route from a IMAP account into the smx.
For doing this I had a look at the Camel component list and found there a
mail component which
supports imap, pop and smtp.
My Java Route Builder looks like this:
package net.compart.jbi.camel;
import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.builder.RouteBuilder;
/**
* A Camel Router
*
* @version $Revision: 1.1 $
*/
public class MyRouteBuilder extends RouteBuilder {
public void configure() throws Exception {
from("imap://[EMAIL PROTECTED]")
.convertBodyTo(String.class)
.to("log:net.compart.jbi.camel.MyRouteBuilder");
}
}
As result of deploying it to smx I receive the following error:
org.apache.camel.RuntimeCamelException:
org.apache.camel.NoSuchEndpointException: No endpoint could be found for:
imap://[EMAIL PROTECTED]
I also tried with mail://.... instead of imap, but with the same result.
Ideas are welcome :)
Regards,
Lars
--
View this message in context:
http://www.nabble.com/Problem-with-Camel-Mail-Component-in-Route-tp15497818s12049p15497818.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.