Skip to content

Defensively register ReactiveReturnValueHandler for messaging methods #23207

Closed

Description

@jhoeller

As of our support for reactive return types from messaging handler methods in #21175, we register a ReactiveReturnValueHandler which has a reference to the ReactiveAdapterRegistry type, which in turn refers to ReactiveAdapter which has a hard reference to org.reactivestreams.Publisher. In order to avoid class resolution failures in certain JVM scenarios (in particular in debug mode), we should defensively register the ReactiveReturnValueHandler only when the Reactive Streams API is present on the classpath.

Activity

  1. added
    in: messaging
    type: bug
    on Jun 28, 2019
  2. added this to the 5.1.9 milestone on Jun 28, 2019
  3. self-assigned this
    on Jun 28, 2019
  4. added a commit that references this issue on Jul 5, 2019
    16deb3c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: messagingtype: bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions