Hi!

I use this route:
<route>
  <from
uri="pop3://mail:110?password=123456&amp;[email protected]&amp;delete=true&amp;debugMode=true"/>
  <to uri="wmq:queue:OUT"/>
</route>

Processing is correct if only one message in mailbox. But a lot of messages
(f.e. n = 2) in mailbox cause strange processing:
1. All n messages were processed correctly: n messages appear in WebSphere
queue.
2. One message was deleted from mailbox.
3. After polling timeout go to step #1 with n-1 messages.

And debug log from SUN's Mail framework is:

12/08/01 12:51:13 S: +OK Microsoft Windows POP3 Service Version 1.0
<[email protected]> ready.
12/08/01 12:51:13 C: USER [email protected]
12/08/01 12:51:13 S: +OK
12/08/01 12:51:13 C: PASS 123456
12/08/01 12:51:13 S: +OK User successfully logged on
12/08/01 12:51:13 C: STAT
12/08/01 12:51:13 S: +OK 2 796
12/08/01 12:51:13 C: TOP 1 0
12/08/01 12:51:13 S: +OK 398 octects
*HEADERS OF THE FIRST MESSAGE*

12/08/01 12:51:13 C: TOP 2 0
12/08/01 12:51:13 S: +OK 398 octects
*HEADERS OF THE SECOND MESSAGE*

12/08/01 12:51:13 C: RETR 1
12/08/01 12:51:13 S: +OK 398 octects
*HEADERS AND BODY OF THE FIRST MESSAGE*

12/08/01 12:51:13 C: RETR 2
12/08/01 12:51:13 S: +OK 398 octects
*HEADERS AND BODY OF THE SECOND MESSAGE*

12/08/01 12:51:13 C: *DELE 1*
12/08/01 12:51:13 S: +OK Message marked as deleted
12/08/01 12:51:13 C: *QUIT*
12/08/01 12:51:13 S: +OK Microsoft Windows POP3 Service Version 1.0
<[email protected]> signing off.

So we can see that the only the first message had been deleted before
session closed.

What's going on?



--
View this message in context: 
http://camel.465427.n5.nabble.com/Problem-with-getting-messages-via-POP3-tp5716652.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to