You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2010/02/17 17:33:27 UTC

[jira] Resolved: (CXF-2670) Filter to indicate to PersistOutInterceptor if an exchange should be persisted

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

Sergey Beryozkin resolved CXF-2670.
-----------------------------------

    Resolution: Fixed
      Assignee: Sergey Beryozkin

Patch has been applied, thanks

> Filter to indicate to PersistOutInterceptor if an exchange should be persisted
> ------------------------------------------------------------------------------
>
>                 Key: CXF-2670
>                 URL: https://issues.apache.org/jira/browse/CXF-2670
>             Project: CXF
>          Issue Type: Improvement
>          Components: Bus
>    Affects Versions: 2.3
>            Reporter: RĂ©mi Flament
>            Assignee: Sergey Beryozkin
>             Fix For: 2.3
>
>         Attachments: cxf-management-data-filter-1.patch.txt
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Here is a patch that add a filter for ExchangeData instance. 
> If a filter is present, PersistOutInterceptor will use it to check if the message should be persisted.
> The patch contains a default implementation which allows to persist messages with a specific status (i.e log only successful messages or on only requests that caused an error).
> One could write its own ExchangeDataFilter to persist only requests of a certain size, or that causes a specific exception, of only if a certain additionnal property is present, or only for a specific user-agent, and so on...

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