The AxiomSoapMessageFactory class instantiates an internally-only accessible XMLInputFactory in its constructor like this:

inputFactory = XMLInputFactory.newInstance();

I would like to be able to turn text coalescing off to be able to handle very large text element content (i.e. base-64 encoded binary data) but without turning off coalescing the JVM will quickly run out of memory.

A way to configure the XMLInputFactory properties, for example to be able to specify a Map<String, Object> configurable property to pass to

Thanks, Arjen, but I wonder why we need to subclass just to configure these properties? I think having a createXMLInputFactory() method is useful, of course, but to make it easier to use without needing to subclass could we have a configurable Map<String, Object> property that this class can use?