from("pop3://m...@emailhost.com?password=password")
  choice().when(header("subject").contains("keyword"))
    to("jms://queuespec");

That's roughly the java.  I think it can also be done in XML with no
java at all.

Don

On Thu, May 26, 2011 at 4:11 PM, fachhoch <fachh...@gmail.com> wrote:
> I want  an email listener , ie   whenever   a new email arrives to   a
> particular inbox with a particular subject  I want a jms message to be sent
> to my  listener , can camel do this ?
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/email-listener-tp4429925p4429925.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to