You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Hans G Knudsen (JIRA)" <ji...@apache.org> on 2007/03/14 14:34:09 UTC

[jira] Updated: (AXIS2-2321) Mail transport - error handling in SimpleMailListener

     [ https://issues.apache.org/jira/browse/AXIS2-2321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hans G Knudsen updated AXIS2-2321:
----------------------------------

    Attachment: simplemaillistener_loop_fix.diff

Propsal to make mail processing more robust.

Exception handling moved into loop.


> Mail transport - error handling in SimpleMailListener
> -----------------------------------------------------
>
>                 Key: AXIS2-2321
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2321
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: transports
>            Reporter: Hans G Knudsen
>         Attachments: simplemaillistener_loop_fix.diff
>
>
> If an error occurs SimpleMailListener in the run inside the loop while doing createMessageContextToMailWorker :
> An exception is caught but the mail is left on server 
>  -> causing an error on next POP 
> If mails have arrived after failing mails - these mails are somehow still processed in loop - but also not deleted... Exception is still caught
>  -> causing ok mails/soapmessages to processed on every POP
> Testcase : 
> send and soap-mail with a build in error eg :
> - illegal From header : 'From: <ma...@b>' - axis will not send this - but mail in spoolfile could be modified. We saw error with misconfigured WCF mail library.
> - other syntax errors in eg mailheaders will cause same problem.
> - The mail is left on server
> - Mails after the failing mails are somehow 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org