camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tarjei Huse <tar...@scanmine.com>
Subject Re: CAMLE MAIL and SEDA integration
Date Sat, 12 Feb 2011 12:07:13 GMT
Hi,
> Is there any camel example, which will pull mail message from mail server
> via POP3/IMAP and submit them to SEDA channel for parallel processing.
>
> It will be helpfull if anyone can point me the same
This is fairly basic in terms of how to start. Here's an example using java:

class FromEmailRoute extends RouteBuilder {

public void configure() {
    from (imap://[username@]host[:port])
    .to("seda:processEmails?size=100");
   
    .from("seda:processEmails")
    .process(new MyProcessor()) ;
}
}


Links:
http://camel.apache.org/mail.html
http://camel.apache.org/seda.html
http://camel.apache.org/examples.html

Hope this helps
Tarjei
> Regards
> INDRANIL DEY


-- 
Regards / Med vennlig hilsen
Tarjei Huse
Mobil: 920 63 413


Mime
View raw message