Hello, I'm trying to implement a ServiceMix binding component for retreiving mails from a pop3 server.
For instance reading yahoo mails. But how configuring ssl on the pop3 mail endpoint? by Camel context is the following: <camelContext id="camel" xmlns="http://activemq.apache.org/camel/schema/spring"> <route> <from uri="pop3://[EMAIL PROTECTED]:995?password=xxxxxx"/> <to uri="jbi:service:http://test.com/mail/router"/> </route> </camelContext> Running this example I've got the following Java Exception Stack: Caused by: org.springframework.mail.MailSendException; nested exceptions (0) are: at org.apache.camel.component.mail.JavaMailConnection.getFolder(JavaMailConnection.java:40) at org.apache.camel.component.mail.MailEndpoint.createConsumer(MailEndpoint.java:61) at org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:67) at org.apache.camel.Route.getServicesForRoute(Route.java:72) at org.apache.camel.impl.DefaultCamelContext.startRoutes(DefaultCamelContext.java:466) at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:442) at org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:140) at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:51) at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:96) ... 27 more Caused by: javax.mail.MessagingException: Connect failed; nested exception is: java.net.ConnectException: Connection refused: connect at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:148) at javax.mail.Service.connect(Service.java:275) at org.apache.camel.component.mail.JavaMailConnection.getFolder(JavaMailConnection.java:37) ... 35 more Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) Could you help? Thank Christophe -- View this message in context: http://www.nabble.com/mail-pop3-and-ssl---how-to-do--tf4896801s22882.html#a14024595 Sent from the Camel - Users mailing list archive at Nabble.com.
