Skip to content

byte[] received when using @RabbitListener with Batching #2889

Answered by artembilan
arths31 asked this question in Q&A
Discussion options

You must be logged in to vote

So, our parameterizedType.getRawType().equals(List.class) cannot be passed because of that kotlin.collections.List.
But at the same time our java.util.List<org.springframework.amqp.core.Message> is able to be passed into that argument.
So, there is some conversion on the Kotlin side from java.util.List into a kotlin.collections.List.

I'm not sure what to do, but it has to be fixed some way indeed.

Raising an issue from this discussion.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@arths31
Comment options

@arths31
Comment options

@artembilan
Comment options

Answer selected by arths31
@arths31
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants