Uploaded image for project: 'Spring AMQP'
  1. Spring AMQP
  2. AMQP-807

Type Erasure for @RabbitListener Return Types

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Complete
    • None
    • 2.1.M1
    • RabbitMQ

    Description

      Use the method generic return type instead of object.getClass() when converting return types to avoid type erasure.

      Work around is to customize the converter on the receiving side (see linked Stack Overflow answer).

      Attachments

        Activity

          People

            grussell Gary Russell
            grussell Gary Russell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: