camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
Subject Re: Problem with getting messages via POP3
Date Wed, 01 Aug 2012 21:50:13 GMT
Which version of Camel do you use?

Sent from a mobile device
Am 01.08.2012 14:56 schrieb "Caa_man" <caa@acs-it.ru>:

> Hi!
>
> I use this route:
> <route>
>   <from
> uri="pop3://mail:110?password=123456&amp;username=master@mail.example.com
> &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
> <2242010705@mail.example.com> ready.
> 12/08/01 12:51:13 C: USER master@mail.example.com
> 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
> <2242010705@mail.example.com> 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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message