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

camel-cdi remove deprecated fireEvent method #13596

Merged
merged 1 commit into from Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -412,7 +412,7 @@ private SyntheticBean<?> camelContextBean(BeanManager manager, Class<?> beanClas

private void afterDeploymentValidation(@Observes AfterDeploymentValidation adv, BeanManager manager) {
// Send event for Camel CDI configuration
manager.fireEvent(configuration);
manager.getEvent().fire(configuration);
configuration.unmodifiable();

Collection<CamelContext> contexts = new ArrayList<>();
Expand Down
Expand Up @@ -56,9 +56,9 @@ public void notify(CamelEvent event) {
List<Annotation> annotations = new ArrayList<>();
Collections.addAll(annotations, qualifiers);
annotations.add(NamedLiteral.of(id));
manager.fireEvent(event, annotations.toArray(new Annotation[0]));
manager.getEvent().select(annotations.toArray(new Annotation[0])).fire(event);
} else {
manager.fireEvent(event, qualifiers);
manager.getEvent().select(qualifiers).fire(event);
}
}

Expand Down