Thanks for your reply. I have seen that the problem was not in my Java installation. The problem was that the application server (weblogic) did not have the imap.gmail.com certificate imported. I have followed the instructions that are explained in the link of stackoverflow to do that.
Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-poll-Google-mail-inbox-for-mails-tp5738222p5738302.html Sent from the Camel - Users mailing list archive at Nabble.com.