Replies: 1 comment 1 reply
-
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.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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