Skip to content

Spring beans registered in this way have problems being used as qualifiers #9

@mikeycmccarthy

Description

@mikeycmccarthy

I started using this library (or technically mimicking what it does as I couldn't find a way to extend it) and I stumbled across an issue with Spring referencing beans created in this way when referenced as a qualifier.

I submitted the issue to Spring with a test - you cna find it at https://jira.spring.io/browse/SPR-11915. They've just fixed it and they've going to backport it into the 3.2 and maybe 4.0 branches so you might want to take in their updates.

You'll see this issue as soon as you register a transaction manager with a custom name and try to use @transactional("name") somewhere else. I have a custom piece of YAML config where you have multiple databases, hence the need to at runtime configure multiple transaction managers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions