activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: camel and email
Date Mon, 22 Aug 2011 06:52:32 GMT
On Sun, Aug 21, 2011 at 11:41 PM, Johan Edstrom <seijoed@gmail.com> wrote:
> You probably want to *read* with pop3/imap, smtp is a transport protocol, not a mailbox
protocol,
> i,e it is a producing side component.
>

You also need to add the nessasary JARs to the classpath, such as
camel-mail JAR and mail JAR etc.


> Cheers.
>
>
> On Aug 21, 2011, at 1:04 PM, jmls wrote:
>
>> I am wanting to be able to poll my gamail account, process all unread
>> messages and send them to either a queue or a topic.
>>
>> everytime I try to add a route to camel.xml the service fails to start.
>>
>> What is wrong with this ?
>>
>> <route>
>>            <description>test mail</description>
>>            <from
>> uri="smtps://smtp.gmail.com?username=[myaccount]&password=[mypassword]&deleteProcessedMessages=false&processOnlyUnseenMessages=true&consumer.delay=60000"/>
>>            <to uri="activemq:example.C"/>
>> </route>
>>
>>
>> --
>> View this message in context: http://activemq.2283324.n4.nabble.com/camel-and-email-tp3758909p3758909.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message