[ 
https://issues.apache.org/jira/browse/CAMEL-20458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-20458.
---------------------------------
    Resolution: Fixed

> Writing custom dev console does not work
> ----------------------------------------
>
>                 Key: CAMEL-20458
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20458
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core, camel-platform-http
>    Affects Versions: 4.4.0
>            Reporter: Ivan Kulaga
>            Assignee: Ivan Kulaga
>            Priority: Minor
>              Labels: help-wanted
>             Fix For: 4.5.0
>
>
> There is documentation saying you can write custom @DevConsole:
> [https://camel.apache.org/manual/camel-console.html#_writing_custom_dev_consoles]
> Tried to copy the example from this documentation and my console was not 
> discovered:
> [https://github.com/kulagaIA/camel-examples/tree/custom-dev-console-not-working]
> I believe this happens because this cycle in 
> org.apache.camel.maven.packaging.SpiGeneratorMojo.java does not work as 
> intended:
> [https://github.com/apache/camel/blob/1b8d9827dcb82e899cc5b0740f4ba9fff6b65029/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpiGeneratorMojo.java#L120]
> It iterates specifically over @ServiceFactory annotations, while the logic 
> suggests it should also iterate over any annotation that is itself annotated 
> with @ServiceFactory .



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to