Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-20458

Writing custom dev console does not work

    XMLWordPrintableJSON

Details

    • Moderate

    Description

      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 .

      Attachments

        Activity

          People

            ikulaga Ivan Kulaga
            ikulaga Ivan Kulaga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: