-
Notifications
You must be signed in to change notification settings - Fork 626
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-2890: Fix
MessagingMessageListenerAdapter
for batch in Kotlin
Fixes: #2890 Issue link: #2890 The Kotlin function with signature `receiveBatch(messages: List<Message>)` produced a `WildCardType` for the generic of the `List` argument. * Fix `MessagingMessageListenerAdapter` to use `TypeUtils.isAssignable()` to determine if the `Type` has a part as expected type # Conflicts: # spring-rabbit/src/main/java/org/springframework/amqp/rabbit/listener/adapter/MessagingMessageListenerAdapter.java # spring-rabbit/src/test/kotlin/org/springframework/amqp/rabbit/annotation/EnableRabbitKotlinTests.kt
- Loading branch information
1 parent
ad20705
commit 9942e3c
Showing
2 changed files
with
22 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters