Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-2756

Fix Vert.x event bus codec registration

    XMLWordPrintable

Details

    Description

      The `EventBusCodecProcessor` used to create a map from Jandex `Type` of message to a `DotName` of the corresponding codec, and then expose that map as a repeatable `MessageCodecBuildItem`. When creating each build item, the code used to call `Type.toString()`, which is never the right thing to do when obtaining a class name from Jandex `Type`.

      With this commit, the map is from type `DotName` to codec `DotName`, and the key in the map is obtained by `Type.name()`.

      Fixes #29434

      Attachments

        Activity

          People

            Unassigned Unassigned
            probinso_jira Quarkus JIRA Bot
            Pablo Gonzalez Granados Pablo Gonzalez Granados (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: