Skip to content

Annotation types by stereotype not respecting annotation mapping #5588

Closed
@anandjaisy

Description

Using the Micronaut 2.5.5 version with rabbitMQ the listener receiving the same value for both the parameter

Task List

  • Steps to reproduce provided
  • Stacktrace (if present) provided
  • Example that reproduces the problem uploaded to Github
  • Full description of the issue provided (see below)

Steps to Reproduce

  1. Clone the repo and build and run the application using Gradle
  2. On the browser enter the URL http://localhost:8080/message
  3. On the Consumer class put a break point consumeMessage and check the value for messageFirst & messageSecond

Expected Behaviour

The value for messageFirst & messageSecond in Consumer class for the method consumeMessage should contain first & second

Actual Behaviour

The value for messageFirst & messageSecond in Consumer class for the method consumeMessage is contain second & second

Environment Information

  • Operating System: Mac
  • Micronaut Version: 2.5.5
  • JDK Version: 16

Example Application

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions