class

Analyzer::Java::Camel

Inherits Analyzer::Java::JavaEngine < Analyzer < FileHelper < Reference < Object

Apache Camel REST DSL and HTTP consumer routes (Java, XML and YAML DSL). restConfiguration().contextPath is CamelContext-wide and usually lives in a different file than the rest(...) definitions, so per-file results are collected first and the prefix is applied per module afterwards.

Constants

PROPERTY_KEYS = {"camel.rest.context-path", "camel.rest.contextPath"}

Spring Boot / Quarkus spelling of restConfiguration().contextPath.

SERVLET_KEYS = {"camel.servlet.mapping.context-path", "camel.servlet.mapping.contextPath", "camel.component.servlet.mapping.context-path"}

camel-servlet-starter's CamelServlet mapping (/api/*), in front of REST DSL routes and servlet: consumers.

SPRING_YAML_FILES = {"application.yml", "application.yaml"}

Class methods

tech_name
Source

Instance methods

analyze
Source
tech

Instance-side view of the same declaration. The per-file rescues live on this base class, which has no way to name the analyzer that is running inside them, so a skipped file could not be attributed to a tech. Deriving it from analyzer_for keeps the name written exactly once.

Source