Skip to content

Conversation

@essobedo
Copy link
Contributor

Fixes https://issues.apache.org/jira/browse/CAMEL-20551

Motivation

In case we have several bean repositories defined in the default registry and a bean is defined in one of the first bean repositories, the method findSingleByType won't return any result while we expect to retrieve a bean.

Modifications:

  • Avoid ignoring the result of findSingleByType on the first bean repositories

@github-actions
Copy link
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟

🤖 CI automation will test this PR automatically.

🐫 Apache Camel Committers, please review the following items:

  • First-time contributors require MANUAL approval for the GitHub Actions to run

  • You can use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot.

  • You can label PRs using build-all, build-dependents, skip-tests and test-dependents to fine-tune the checks executed by this PR.

  • Build and test logs are available in the Summary page. Only Apache Camel committers have access to the summary.

  • ⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

@essobedo essobedo merged commit 2ebb4ee into main Mar 12, 2024
@essobedo essobedo deleted the CAMEL-20551/fix-findSingleByType branch March 12, 2024 07:09
essobedo added a commit that referenced this pull request Mar 12, 2024
…os (#13446)

## Motivation

In case we have several bean repositories defined in the default registry and a bean is defined in one of the first bean repositories, the method findSingleByType won't return any result while we expect to retrieve a bean.

## Modifications:

* Avoid ignoring the result of `findSingleByType` on the first bean repositories
essobedo added a commit that referenced this pull request Mar 12, 2024
…os (#13446)

## Motivation

In case we have several bean repositories defined in the default registry and a bean is defined in one of the first bean repositories, the method findSingleByType won't return any result while we expect to retrieve a bean.

## Modifications:

* Avoid ignoring the result of `findSingleByType` on the first bean repositories
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants