Skip to content

Commit

Permalink
Improve Kotlin example formatting.
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Yates <tim.yates@gmail.com>
  • Loading branch information
jeremyg484 and timyates authored Oct 12, 2023
1 parent 364b156 commit 0c57b46
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ class ReactiveSubscriber(private val messageProcessor: MessageProcessor) {
return message.flatMap { animal ->
messageProcessor.handleAnimalMessage(animal)
}
}
}

@Subscription(value = "animals-legacy", contentType = "application/xml")
fun receiveXML(message: Mono<Animal>, @MessageId id: String): Mono<Any> { // <4>
@Subscription(value = "animals-legacy", contentType = "application/xml")
fun receiveXML(message: Mono<Animal>, @MessageId id: String): Mono<Any> { // <4>
return message.flatMap { animal ->
messageProcessor.handleAnimalMessage(animal)
}
Expand Down

0 comments on commit 0c57b46

Please sign in to comment.