You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Rémi Flament (JIRA)" <ji...@apache.org> on 2009/08/10 00:36:14 UTC

[jira] Created: (CXF-2383) Give access to the LoggingMessage object in the Message content.

Give access to the LoggingMessage object in the Message content.
----------------------------------------------------------------

                 Key: CXF-2383
                 URL: https://issues.apache.org/jira/browse/CXF-2383
             Project: CXF
          Issue Type: Improvement
          Components: Core
            Reporter: Rémi Flament
            Priority: Minor
         Attachments: LoggingInInterceptor.java.patch

I need to write an interceptor that store soap messages that cause a fault. 

A way to do it is to implement the handleFault method in an interceptor that extends LoggingInInterceptor. 

In the handleFault method I need to access to the LoggingMessage which was created by the handleMessage method.

To achieve this, I've just added the LoggingMessage in the content of the Message :

message.setContent(LoggingMessage.class, buffer);

Patch attached.

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


[jira] Updated: (CXF-2383) Give access to the LoggingMessage object in the Message content.

Posted by "Rémi Flament (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: LoggingInInterceptor.java.patch

> Give access to the LoggingMessage object in the Message content.
> ----------------------------------------------------------------
>
>                 Key: CXF-2383
>                 URL: https://issues.apache.org/jira/browse/CXF-2383
>             Project: CXF
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Rémi Flament
>            Priority: Minor
>         Attachments: LoggingInInterceptor.java.patch
>
>
> I need to write an interceptor that store soap messages that cause a fault. 
> A way to do it is to implement the handleFault method in an interceptor that extends LoggingInInterceptor. 
> In the handleFault method I need to access to the LoggingMessage which was created by the handleMessage method.
> To achieve this, I've just added the LoggingMessage in the content of the Message :
> message.setContent(LoggingMessage.class, buffer);
> Patch attached.

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