You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2008/04/29 23:28:55 UTC

[jira] Created: (SYNAPSE-279) Avoid dumping of large payloads in LogMediator

Avoid dumping of large payloads in LogMediator
----------------------------------------------

                 Key: SYNAPSE-279
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-279
             Project: Synapse
          Issue Type: Bug
          Components: Core
    Affects Versions: NIGHTLY
            Reporter: Andreas Veithen
            Assignee: Andreas Veithen
            Priority: Minor
             Fix For: 1.3


Text payloads (typically resulting from an XSLT transformation) are represented in Synapse using OMSourcedElement nodes backed by TextFileDataSource objects. Nodes of this type can potentially contain a large amount of data. When a message containing this kind of payload hits the LogMediator in 'full' mode, the entire content will be dumped, potentially causing problems for large payloads, in particular because the entire message is transformed to a String object. In this case, LogMediator should skip the text content in some way.

A proper solution would be to use the mechanism described in WSCOMMONS-287 and let the LogMediator use an OMOutputFormat object with a custom property that would instruct TextFileDataSource to skip the serialization of the text content. However, currently the implementation of this solution is blocked by WSCOMMONS-335.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Updated: (SYNAPSE-279) Avoid dumping of large payloads in LogMediator

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated SYNAPSE-279:
------------------------------------

    Fix Version/s:     (was: 1.3)
                   FUTURE

Setting fix version to FUTURE since this issue is blocked by WSCOMMONS-335 which is still open.

> Avoid dumping of large payloads in LogMediator
> ----------------------------------------------
>
>                 Key: SYNAPSE-279
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-279
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: NIGHTLY
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: FUTURE
>
>
> Text payloads (typically resulting from an XSLT transformation) are represented in Synapse using OMSourcedElement nodes backed by TextFileDataSource objects. Nodes of this type can potentially contain a large amount of data. When a message containing this kind of payload hits the LogMediator in 'full' mode, the entire content will be dumped, potentially causing problems for large payloads, in particular because the entire message is transformed to a String object. In this case, LogMediator should skip the text content in some way.
> A proper solution would be to use the mechanism described in WSCOMMONS-287 and let the LogMediator use an OMOutputFormat object with a custom property that would instruct TextFileDataSource to skip the serialization of the text content. However, currently the implementation of this solution is blocked by WSCOMMONS-335.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org