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

    • Affects:
      Release Notes
    • Release Notes Text:
      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.
    • Release Notes Docs Status:
      Documented as Feature Request
    • Docs QE Status:
      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  smumford Scott Thomas
                  Reporter:
                  klape Kyle Lape
                  Writer:
                  Petr Penicka
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: