Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bindings for header exchanges which test for the *presence* of a header are not mocked correctly #257

Open
hjohn opened this issue Nov 24, 2021 · 0 comments

Comments

@hjohn
Copy link
Collaborator

hjohn commented Nov 24, 2021

Please see this PR: #256

For example for a RabbitListener defined like this:

                @QueueBinding(
                        arguments = {
                                @Argument(name = "my-header") // check for presence of the header, value is irrelevant
                        },
                        exchange = @Exchange(name = "my-exchange", type = ExchangeTypes.HEADERS),
                        value = @Queue(value = "my-queue")
                )

Note that @Argument does not specify a value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant