Synapse
  1. Synapse
  2. SYNAPSE-279

Avoid dumping of large payloads in LogMediator

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: NIGHTLY
    • Fix Version/s: FUTURE
    • Component/s: Core
    • Labels:
      None

      Description

      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.

        Issue Links

          Activity

          Gavin made changes -
          Link This issue depends upon AXIOM-310 [ AXIOM-310 ]
          Gavin made changes -
          Link This issue depends on AXIOM-310 [ AXIOM-310 ]
          Andreas Veithen made changes -
          Fix Version/s FUTURE [ 12313086 ]
          Fix Version/s 1.3 [ 12313085 ]
          Hide
          Andreas Veithen added a comment -

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

          Show
          Andreas Veithen added a comment - Setting fix version to FUTURE since this issue is blocked by WSCOMMONS-335 which is still open.
          Andreas Veithen made changes -
          Field Original Value New Value
          Link This issue depends on WSCOMMONS-335 [ WSCOMMONS-335 ]
          Andreas Veithen created issue -

            People

            • Assignee:
              Andreas Veithen
              Reporter:
              Andreas Veithen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development