-
1. Re: Fuse ESB 4.1.0.2
njiang Nov 8, 2009 9:38 PM (in response to mdav)Did you use the features:install camel-mail to install the camel-mail and it related java mail bundle ?
-
2. Re: Fuse ESB 4.1.0.2
mdav Nov 9, 2009 5:40 PM (in response to njiang)Thanks for the reply.
I installed the features using the addUrl command and installed the camel-mail., it worked against exchange mail.
then
features install camel-mail
I have another issue, the pop3 / imap protocol is although reading attatchments , the hasattatchment() method returns false in a processor method.
But the email is moved to a different folder with attachment.
Any tips guys.
Cheers
dav
Edited by: mdav on Nov 9, 2009 10:35 PM
Edited by: mdav on Nov 9, 2009 10:39 PM
-
3. Re: Fuse ESB 4.1.0.2 and camel - mail
mdav Nov 16, 2009 6:17 PM (in response to mdav)Hi Guys,
I get this error when I use imap to read exchange emails :
| WARN | Component@3d0611 | ScheduledPollConsumer | camel.impl.ScheduledPollConsumer 68 | An exception occured while polling: Endpoint[imap://mdav@hostname?password=password&processOnlyUnseenMessages=true&consumer.delay=30000]: Unexpected error on server stream (java.net.SocketException: Connection reset)
javax.mail.MessagingException: Unexpected error on server stream (java.net.SocketException: Connection reset)
at org.apache.geronimo.javamail.store.imap.connection.IMAPResponseStream.nextByte(IMAPResponseStream.java:386)
at org.apache.geronimo.javamail.store.imap.connection.IMAPResponseStream.readBuffer(IMAPResponseStream.java:290)
at org.apache.geronimo.javamail.store.imap.connection.IMAPResponseStream.readData(IMAPResponseStream.java:274)
at org.apache.geronimo.javamail.store.imap.connection.IMAPResponseStream.readResponse(IMAPResponseStream.java:94)
at org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.receiveResponse(IMAPConnection.java:396)
at org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.sendCommand(IMAPConnection.java:324)
...
..
..Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.net.SocketInputStream.read(SocketInputStream.java:182)
Iam using Fuse ESB 4.1.102 and Camel-mail.
The same code was working fine 1 day back and then I restarted the machine, then it gives the above error.
From my router class :
from("imap://mdav@hostname?password=password&processOnlyUnseenMessages=true&consumer.delay=30000").process(new MyTransform());
I tried using pop3 protocol, it is giving AuthenticationFailedException.
Any tips please.
Cheers,
Dav