Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

DHX-17 - Reduce memory consumption in case of large attachments #22

Merged
merged 18 commits into from
Sep 20, 2019

Conversation

vellotis
Copy link
Contributor

@vellotis vellotis commented Sep 12, 2019

Replaced SaajSoapMessageFactory with `AxiomSoapMessageFactory which enables attachment caching in case the attachment size threshold is exceeded.

Introduced two new properties soap.dhx.attachment.cache.threshold and soap.dhx.attachment.cache.dir:

# # # # #
# Increasing memory efficiency while sending large documents
# # # # #
# Tells DHX to use filesystem caching instead of memory if attachment size is bigger than following value in MB.
#soap.dhx.attachment.cache.threshold=10
# Specify directory to be used for caching. By default Java temp directory.
#soap.dhx.attachment.cache.dir=

Along with other changes:

  • Made all modules versioning consistent by obtaining it from the parent module
  • Fixed Dvk_kapsel_vers_2_1_eng_est.xsd syntax
  • Removed redundant include definitions and some more refactorings

Kaarel Raspel added 18 commits September 17, 2019 11:12
# Conflicts:
#	docker-compose.yml
- Optimized XML validation implementation
- Optimized SOAP message sending
- Optimized `BigDataHandler` and extending classes
- Eraldi `SoapMessageFactory` bean'id saatmiseks ja vastuvõtmiseks.
- Parandused `WsUtil.java` implementatsioonis
…ent` by extending it in `dhx-adapter-core`
- Fix `PipedOutputStream` and `PipedInputStream` usage
- Create separate `WebServiceConfig` for `dhx-adapter-ws`
  - Move `axiomSoapMessageFactorySend` to `dhx-adapter-ws`
- Prettyfied some configuration
…`ee.ria.dhx.ws.context.ApplicationContextProvider`
…e missing "cid:" prefix

- Also fix fault visibility in logs in case of request exception
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant