Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 94804 invoked from network); 3 Feb 2010 02:20:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2010 02:20:44 -0000 Received: (qmail 5681 invoked by uid 500); 3 Feb 2010 02:20:44 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 5629 invoked by uid 500); 3 Feb 2010 02:20:44 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 5619 invoked by uid 99); 3 Feb 2010 02:20:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 02:20:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 02:20:41 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9E2F7234C4A8 for ; Tue, 2 Feb 2010 18:20:20 -0800 (PST) Message-ID: <1851094646.43781265163620646.JavaMail.jira@brutus.apache.org> Date: Wed, 3 Feb 2010 02:20:20 +0000 (UTC) From: =?utf-8?Q?R=C3=A9mi_Flament_=28JIRA=29?= To: issues@cxf.apache.org Subject: [jira] Commented: (CXF-2641) Interceptors to store requests and responses In-Reply-To: <980310886.159351264953094586.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-2641?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D128288= 99#action_12828899 ]=20 R=C3=A9mi Flament commented on CXF-2641: ----------------------------------- Output sample with FilesystemExchangeDAO : https://issues.apache.org/jira/= secure/attachment/12434626/cxf-management-1871629044889142380.txt > 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=C3=A9mi Flament > Fix For: 2.2.7 > > Attachments: cxf-management-1871629044889142380.txt, cxf-manageme= nt-interceptor.patch-2.txt > > > Here is a patch that contains interceptors described in this email : http= ://mail-archives.apache.org/mod_mbox/cxf-dev/201001.mbox/%3C4B553909.507050= 6@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 interfa= ce. > 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 t= hat writes data in files : FilesystemExchangeDAO. > Users can write their own implementation of this interface to store data = in a database for example. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.