Chunked content for ITI-41

3 views
Skip to first unread message

Stéphane Spahni

unread,
Dec 25, 2025, 5:57:53 AM (yesterday) Dec 25
to ipf-user
Hello,
When publishing a document with ITI-41, the request is sent in chunked mode with chunks of (probably) 4K. For a 32MB file it means more than 10'000 chunks.
The XDS server I am calling cannot accept more than 1500 chunks :-(
--> Is there a way to either disable chunk mode (not sure it will work) or increasing the size of the chunks? I did not find any paramerter for doing either of the two.
Thanks and merry christmas !!!

Boris Stanojević

unread,
Dec 25, 2025, 7:33:17 AM (yesterday) Dec 25
to ipf-...@googlegroups.com
You can either disable chunking (
AllowChunking=false) or set the ChunkingThreshold on the cxf-httpConduit configuration; See the:


for details…
Regards,
Boris

--
You received this message because you are subscribed to the Google Groups "ipf-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ipf-user+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ipf-user/d9f80688-b80c-40ee-84c2-1d8af8a0353an%40googlegroups.com.

Stéphane Spahni

unread,
Dec 25, 2025, 9:37:28 AM (yesterday) Dec 25
to ipf-user
Thanks Boris for you quick answer !
Can you do that dynamically in the app calling IPF? Through which properties? Or through the endpoint, adding a "&AllowChunking=false" ?  I have a Java 8 client like that:

Exchange exchange = new DefaultExchange(getCamelContext());
exchange.getIn().setBody(body); 
addWssHeader(securitySamlToken, exchange); 
ProducerTemplate template = camelContext.createProducerTemplate(); 
Exchange result = template.send(endpoint, exchange);

I am not sure how to access the "client" structure...
Regards,
Stéphane

Boris Stanojević

unread,
Dec 25, 2025, 12:57:23 PM (yesterday) Dec 25
to ipf-...@googlegroups.com
The preferable option to configure the httpConduit is by using the Spring-XML configuration like this one:

As I recall, programmatically on the other hand is much more painful, I have no sample snippets, sorry…

Cheers,
Boris

Dmytro Rud

unread,
Dec 25, 2025, 1:39:43 PM (yesterday) Dec 25
to ipf-...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages