Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-7977

JBossWS: DOMWriter shouldn't flush the output stream after every element

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • EAP_EWP 5.2.0
    • EAP_EWP 5.1.2
    • Web Services
    • None
    • Release Notes
    • Hide
      In certain scenarios, JBossWS sends a large number of small packets over the network instead of sending a smaller number of larger packets. The following system property has been introduced in this release:

      <screen>
      -Dorg.jboss.ws.domwriter.FlushOnlyOnce=true
      </screen>

      If the value of the property is set to <code>true</code>, the size of packets sent over the network is increased and their number reduced.
      Show
      In certain scenarios, JBossWS sends a large number of small packets over the network instead of sending a smaller number of larger packets. The following system property has been introduced in this release: <screen> -Dorg.jboss.ws.domwriter.FlushOnlyOnce=true </screen> If the value of the property is set to <code>true</code>, the size of packets sent over the network is increased and their number reduced.
    • Documented as Feature Request
    • NEW

    Description

      Currently the DOMWriter will call flush() on its OutputStream after every element has been marshalled. When the output stream is sent over the network, this causes lots of small packets to be transmitted. It would be best if the OutputStream was flushed less often so not as many network packets were sent over the wire.

      Attachments

        Issue Links

          Activity

            People

              smumford_jira Scott Thomas (Inactive)
              rh-ee-klape Kyle Lape
              Petr Penicka Petr Penicka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: