Skip to content

CAMEL-22290, CAMEL-22289: Remove deprecated camel-cloud and serviceCa…#21647

Merged
davsclaus merged 5 commits intoapache:mainfrom
sandeepGenz:CAMEL-22290-remove-cloud
Mar 2, 2026
Merged

CAMEL-22290, CAMEL-22289: Remove deprecated camel-cloud and serviceCa…#21647
davsclaus merged 5 commits intoapache:mainfrom
sandeepGenz:CAMEL-22290-remove-cloud

Conversation

@sandeepGenz
Copy link
Contributor

Description

This PR addresses the removal of the deprecated camel-cloud and camel-service components, as well as the serviceCall EIP. These were deprecated in Camel 3.19.0 / 4.7.0 and are now being removed post-4.18 LTS as planned.

Key Changes:

  • Core Deletion: Removed core/camel-cloud and components/camel-service.
  • EIP Cleanup: Removed serviceCall and related configurations from camel-core-model and camel-core-reifier.
  • API Cleanup: Removed cloud-related interfaces from camel-api.
  • Component Sweep: Cleaned up cloud-specific sub-packages in kubernetes, consul, zookeeper, dns, http, netty-http, and undertow.
  • DSL Synchronization: Ran ./etc/scripts/regen.sh to purge serviceCall from the Java, XML, and YAML DSLs and the Camel Catalog.
  • JAXB Fix: Resolved a critical JAXB binder creation failure by removing a hardcoded stale package reference in Constants.java.

Verification:

  • Successfully ran mvn clean install on the affected modules: camel-core-model, camel-xml-jaxb, and camel-spring-xml.
  • Verified via javap that the DefaultModelJAXBContextFactory bytecode is free of stale package references.
  • Confirmed a clean git status after running the full regen.sh synchronization script.

Related Issues:

@sandeepGenz sandeepGenz force-pushed the CAMEL-22290-remove-cloud branch from 8bf0f6f to c40425f Compare February 28, 2026 19:18
@github-actions
Copy link
Contributor

github-actions bot commented Mar 1, 2026

🌟 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 although they are normally detected and executed by CI.
  • 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.

@davsclaus
Copy link
Contributor

This file needs to be updated - seems like a line should be removed

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   core/camel-main/src/test/java/org/apache/camel/main/MainPropertyPlaceholderTest.java

no changes added to commit (use "git add" and/or "git commit -a")


diff --git a/core/camel-main/src/test/java/org/apache/camel/main/MainPropertyPlaceholderTest.java b/core/camel-main/src/test/java/org/apache/camel/main/MainPropertyPlaceholderTest.java
index 4131d96a..5c8b0541 100644
--- a/core/camel-main/src/test/java/org/apache/camel/main/MainPropertyPlaceholderTest.java
+++ b/core/camel-main/src/test/java/org/apache/camel/main/MainPropertyPlaceholderTest.java
@@ -22,7 +22,6 @@ import org.junit.jupiter.api.parallel.Isolated;
 import static org.apache.camel.util.CollectionHelper.mapOf;
 import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertThrows;
-import static org.junit.jupiter.api.Assertions.assertTrue;

@davsclaus
Copy link
Contributor

The upgrade doc should be updated for the 4.19
https://github.com/apache/camel/blob/main/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_19.adoc

@davsclaus davsclaus merged commit c216fd9 into apache:main Mar 2, 2026
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.

2 participants