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

SmallRye Fault Tolerance 6.4.1 not compatible with camel-microprofile-fault-tolerance #6584

Closed
jamesnetherton opened this issue Oct 3, 2024 · 1 comment
Assignees
Labels
Milestone

Comments

@jamesnetherton
Copy link
Contributor

Bug description

Seems some public API got removed, so we'll have to deal with it in the Camel component.

[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/runner/work/camel-quarkus/camel-quarkus/integration-tests/microprofile-fault-tolerance/src/main/java/org/apache/camel/quarkus/component/microprofile/it/faulttolerance/MicroprofileFaultToleranceProducers.java:[57,27] cannot find symbol
  symbol:   method create(java.util.concurrent.ExecutorService)
  location: class io.smallrye.faulttolerance.core.timer.ThreadTimer
@jamesnetherton jamesnetherton added the bug Something isn't working label Oct 3, 2024
@jamesnetherton jamesnetherton self-assigned this Oct 3, 2024
@jamesnetherton jamesnetherton changed the title [quarkus-main] SmallRye Fault Tolerance 6.4.1 not compatible with camel-microprofile-faulttolerance [quarkus-main] SmallRye Fault Tolerance 6.4.1 not compatible with camel-microprofile-fault-tolerance Oct 3, 2024
@jamesnetherton
Copy link
Contributor Author

Actually it's only the native build that is impacted:

Caused by: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Discovered unresolved method during parsing: io.smallrye.faulttolerance.core.timer.ThreadTimer.create(java.util.concurrent.Executor). This error is reported at image build time because class org.apache.camel.component.microprofile.faulttolerance.FaultToleranceTimerService is registered for linking at image build time by command line and command line.
Error encountered while parsing org.apache.camel.component.microprofile.faulttolerance.FaultToleranceTimerService.doInit(FaultToleranceTimerService.java:38)
Parsing context:
   at org.apache.camel.support.service.BaseService.init(BaseService.java:85)
   at org.apache.camel.support.service.BaseService.start(BaseService.java:115)
   at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:126)
   at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:113)
   at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:153)
   at org.apache.camel.support.DefaultConsumer.doStart(DefaultConsumer.java:230)
   at root method.(Unknown Source)

jamesnetherton added a commit to jamesnetherton/camel-quarkus that referenced this issue Oct 16, 2024
jamesnetherton added a commit to jamesnetherton/camel-quarkus that referenced this issue Oct 16, 2024
@jamesnetherton jamesnetherton changed the title [quarkus-main] SmallRye Fault Tolerance 6.4.1 not compatible with camel-microprofile-fault-tolerance SmallRye Fault Tolerance 6.4.1 not compatible with camel-microprofile-fault-tolerance Oct 16, 2024
jamesnetherton added a commit to JiriOndrusek/camel-quarkus that referenced this issue Dec 4, 2024
jamesnetherton added a commit to JiriOndrusek/camel-quarkus that referenced this issue Dec 4, 2024
@github-actions github-actions bot added this to the 3.17.0 milestone Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant