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

Rémi Flament updated CXF-2641:
------------------------------

    Description: 
Here is a patch that contains interceptors described in this email : 
http://mail-archives.apache.org/mod_mbox/cxf-dev/201001.mbox/%3c4b553909.5070...@laposte.net%3e

The patch modifies the rt/management maven module.

It adds two interceptors to store requests and responses  :

- PersistInInterceptor
- PersistOutInterceptor

The persistence is delegated to implementation of the ExchangeDataDAO interface.

For each request the following data can be saved :

- service name
- encoding
- the date when the request was processed
- the date when the response was processed
- the wsdl operation
- the request as text
- the response as text
- the request size
- the response size
- the uri
- user agent
- the status
- the exception type and the stacktrace if any
- additional properties, http headers, etc.

The patch contains the interface ExchangeDataDAO and a basic implementation 
that writes data in files : FilesystemExchangeDataDAO.

Users can write their own implementation of this interface to store data in a 
database for example.

  was:
Here is a patch that contains interceptors described in this email : 
http://mail-archives.apache.org/mod_mbox/cxf-dev/201001.mbox/%3c4b553909.5070...@laposte.net%3e

The patch modifies the rt/management maven module.

It adds two interceptors to store requests and responses  :

- PersistInInterceptor
- PersistOutInterceptor

The persistence is delegated to implementation of the ExchangeDAO interface.

For each request the following data can be saved :

- service name
- encoding
- the date when the request was processed
- the date when the response was processed
- the wsdl operation
- the request as text
- the response as text
- the request size
- the response size
- the uri
- user agent
- the status
- the exception type and the stacktrace if any
- additional properties, http headers, etc.

The patch contains the interface ExchangeDAO and a basic implementation that 
writes data in files : FilesystemExchangeDAO.

Users can write their own implementation of this interface to store data in a 
database for example.


> Interceptors to store requests and responses
> --------------------------------------------
>
>                 Key: CXF-2641
>                 URL: https://issues.apache.org/jira/browse/CXF-2641
>             Project: CXF
>          Issue Type: New Feature
>          Components: Bus
>    Affects Versions: 2.2.6
>            Reporter: Rémi Flament
>             Fix For: 2.2.7
>
>         Attachments: cxf-management-1871629044889142380.txt, 
> cxf-management-interceptor.patch-3.txt
>
>
> Here is a patch that contains interceptors described in this email : 
> http://mail-archives.apache.org/mod_mbox/cxf-dev/201001.mbox/%3c4b553909.5070...@laposte.net%3e
> The patch modifies the rt/management maven module.
> It adds two interceptors to store requests and responses  :
> - PersistInInterceptor
> - PersistOutInterceptor
> The persistence is delegated to implementation of the ExchangeDataDAO 
> interface.
> For each request the following data can be saved :
> - service name
> - encoding
> - the date when the request was processed
> - the date when the response was processed
> - the wsdl operation
> - the request as text
> - the response as text
> - the request size
> - the response size
> - the uri
> - user agent
> - the status
> - the exception type and the stacktrace if any
> - additional properties, http headers, etc.
> The patch contains the interface ExchangeDataDAO and a basic implementation 
> that writes data in files : FilesystemExchangeDataDAO.
> Users can write their own implementation of this interface to store data in a 
> database for example.

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

Reply via email to