[ 
https://issues.apache.org/jira/browse/JAMES-2263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16294625#comment-16294625
 ] 

ASF GitHub Bot commented on JAMES-2263:
---------------------------------------

GitHub user apptaro opened a pull request:

    https://github.com/apache/james-project/pull/91

    Fix for JAMES-2263

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apptaro/james-project JAMES-2263

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/james-project/pull/91.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #91
    
----
commit 87d39e59d68f919156e8db1afbaba4b19c5965ce
Author: apptaro <[email protected]>
Date:   2017-12-18T08:03:03Z

    Fix for JAMES-2263

----


> onMailetException doesn't work even the default onMailetException="error"
> -------------------------------------------------------------------------
>
>                 Key: JAMES-2263
>                 URL: https://issues.apache.org/jira/browse/JAMES-2263
>             Project: James Server
>          Issue Type: Bug
>          Components: Matchers/Mailets (bundled), SpoolManager & Processors
>    Affects Versions: 3.0.0-beta5
>            Reporter: Taro App
>
> Tested with 3.0.1. When a mailet raises an exception, the message is not sent 
> to the processor specified with onMailetException. Only 
> onMailetException="ignore" works. Other values don't work, the even the 
> default onMailetException="error". Instead the message is somehow processed 7 
> times and then discarded.
> See org.apache.james.mailetcontainer.impl.camel.CamelProcessor.java:106, the 
> exception and the onMailetException value is passed to 
> ProcessorUtil.handleException, which then re-throw the exception. The 
> re-thrown exception is never catched and the mail object is discard at 
> org.apache.james.mailetcontainer.impl.JamesMailSpooler.java:183.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to