Skip to content

Support generic types in the HttpRequestHandlingEndpointSupport #2806

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
artembilan opened this issue Mar 13, 2019 · 0 comments · Fixed by #2807
Closed

Support generic types in the HttpRequestHandlingEndpointSupport #2806

artembilan opened this issue Mar 13, 2019 · 0 comments · Fixed by #2807

Comments

@artembilan
Copy link
Member

See SO for more info: https://stackoverflow.com/questions/55142118/httprequesthandlingmessaginggateway-json-array-payload

Also consider to support the same functionality in the JsonToObjectTransformer.

The general problem that some HttpMessageConverter implementations are GenericHttpMessageConverter, e.g. AbstractJackson2HttpMessageConverter with of Type which can be extracted from already supported ResolvableType for the requestPayloadType.

The same ResolvableType should be applied for the JsonToObjectTransformer.

Since it is an omission with the current implementation and there is no easy way to workaround it we definitely need to consider to back port it to 5.1.x.

@artembilan artembilan added this to the 5.2.M1 milestone Mar 13, 2019
@artembilan artembilan self-assigned this Mar 13, 2019
artembilan added a commit to artembilan/spring-integration that referenced this issue Mar 13, 2019
garyrussell pushed a commit that referenced this issue Mar 15, 2019
garyrussell pushed a commit that referenced this issue Mar 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant