We switched from resteasy legacy to recomended reactive alternative quarkus-rest, quarkus-rest-jacskon.
After switch we noticed that Response.fromResponse method does not work anymore.
Code in controllers like
Response.fromResponse(rcClient.doCall()).build()
was working for legacy libs and its not correctly working in new libs.
It returns correct status, but payload somehoiw cannot be accessed.
Describe the bug
We switched from resteasy legacy to recomended reactive alternative quarkus-rest, quarkus-rest-jacskon. After switch we noticed that Response.fromResponse method does not work anymore. Code in controllers like
Response.fromResponse(rcClient.doCall()).build()
was working for legacy libs and its not correctly working in new libs. It returns correct status, but payload somehoiw cannot be accessed.I created reproducer https://github.com/bkalas/q3-responsebug-reproducer there are 2 projects 'reproducer-reactive-not-working' 'reproducer-resteasy-legacy-working'
See in both MainRestController and test for it, in resteasy-legacy test will pass, same test wont pass for rective
Expected behavior
Bahviour should be same for both libraries
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
17
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response