Replies: 2 comments 5 replies
-
What version of RESTEasy are you using? Setting the property on the client or as a system property should work, if not it's likely a bug we can get fixed. |
Beta Was this translation helpful? Give feedback.
-
i have the same issue: i tried adding it to the any ideas how to fix it? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We're using RESTEasy Client to generate an API client that has a POST endpoint to upload large files and the client throws an exception because by default RESTEasy Client has a file size limit of 50MB.
Note that we're using it in a Spring application that does not use Microprofile Config.
This file size limit is configurable via the property "dev.resteasy.entity.file.threshold" (see the EntityOutputStream class), however since we're not using Microprofile Config, the only way I found to configure it is via system properties.
I also tried using the ClientBuilder class as:
But it didn't make any difference.
My question is if there is another way to configure this file size limit per client and/or if we can somehow skip this limitation, maybe by using another implementation of EntityOutputStream?
Beta Was this translation helpful? Give feedback.
All reactions