You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Dietrich Schulten (Jira)" <ji...@apache.org> on 2023/11/13 19:27:00 UTC
[jira] [Updated] (CAMEL-20111) ServiceCall EIP removed in Camel 4 without advice to replace it
[ https://issues.apache.org/jira/browse/CAMEL-20111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dietrich Schulten updated CAMEL-20111:
--------------------------------------
Description:
We just realized that the ServiceCall EIP is deprecated while planning the next upgrade to Camel.
https://issues.apache.org/jira/browse/CAMEL-18453 has deprecated the ServiceCall EIP, and the documentation https://camel.apache.org/components/4.0.x/eips/serviceCall-eip.html states that it has been removed as of V.4, but the 3->4 migration guide does not mention the removal and gives no advice what users should do who rely on service discovery.
Unfortunately, we use ServiceCall a lot in our microservice landscape, so this will be a major migration issue.
In the code I still see the implementation classes of ServiceCall in https://github.com/apache/camel/tree/main/core/camel-cloud/src/main/java/org/apache/camel/impl/cloud, and the Camel DSL .serviceCall step is still there, albeit deprecated.
So I have a faint hope that it might not be too late to keep the serviceCall EIP in the product. Or learn why it is no longer necessary and superceded by a better approach.
You could read this a possible documentation bug: the docs say it is gone, but it is still there, and there is no migration guide which discusses what users should do instead, once the ServiceCall code will really be removed. Secretly hoping that you reverse the deprecation :-)
was:
We just realized that the ServiceCall EIP is deprecated while planning the next upgrade to Camel.
https://issues.apache.org/jira/browse/CAMEL-18453 has deprecated the ServiceCall EIP, and the documentation https://camel.apache.org/components/4.0.x/eips/serviceCall-eip.html states that it has been removed as of V.4, but the 3->4 migration guide does not mention the removal and gives no advice what users should do who rely on service discovery.
Unfortunately, we use ServiceCall a lot in our microservice landscape, so this will be a major migration issue.
In the code I still see the implementation classes of ServiceCall in https://github.com/apache/camel/tree/main/core/camel-cloud/src/main/java/org/apache/camel/impl/cloud, and the Camel DSL .serviceCall step is still there, albeit deprecated.
So I have a faint hope that it might not be too late to keep the serviceCall EIP in the product. Or learn why it is no longer necessary and superceded by a better approach.
So you could read this a possible documentation bug: the docs say it is gone, but it is still there, and there is no migration guide which discusses what users should do instead, once the ServiceCall code will really be removed :-)
> ServiceCall EIP removed in Camel 4 without advice to replace it
> ---------------------------------------------------------------
>
> Key: CAMEL-20111
> URL: https://issues.apache.org/jira/browse/CAMEL-20111
> Project: Camel
> Issue Type: Bug
> Reporter: Dietrich Schulten
> Priority: Major
>
> We just realized that the ServiceCall EIP is deprecated while planning the next upgrade to Camel.
> https://issues.apache.org/jira/browse/CAMEL-18453 has deprecated the ServiceCall EIP, and the documentation https://camel.apache.org/components/4.0.x/eips/serviceCall-eip.html states that it has been removed as of V.4, but the 3->4 migration guide does not mention the removal and gives no advice what users should do who rely on service discovery.
> Unfortunately, we use ServiceCall a lot in our microservice landscape, so this will be a major migration issue.
> In the code I still see the implementation classes of ServiceCall in https://github.com/apache/camel/tree/main/core/camel-cloud/src/main/java/org/apache/camel/impl/cloud, and the Camel DSL .serviceCall step is still there, albeit deprecated.
> So I have a faint hope that it might not be too late to keep the serviceCall EIP in the product. Or learn why it is no longer necessary and superceded by a better approach.
> You could read this a possible documentation bug: the docs say it is gone, but it is still there, and there is no migration guide which discusses what users should do instead, once the ServiceCall code will really be removed. Secretly hoping that you reverse the deprecation :-)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)