CodeQL library for Java/Kotlin
codeql/java-all 0.8.12 (changelog, source)
Search

Module CamelJavaDSL

Provides classes and predicates for the Apache Camel Java DSL.

Apache Camel allows “routes” to be defined in Java, using a chained DSL syntax. For example:

public class MyRouteBuilder extends RouteBuilder {
  public void configure() {
    from("direct.start").bean(TargetBean.class);
  }
}

This creates a route to the TargetBean class for messages sent to “direct.start”.

Import path

import semmle.code.java.frameworks.camel.CamelJavaDSL

Imports

Reflection

Provides classes and predicates for working with Java Reflection.

Spring
java

Provides all default Java QL imports.

Classes

CamelJavaDslBeanDecl

A declaration of a “bean” target in the Apache Camel Java DSL.

CamelJavaDslBeanRefDecl

A declaration of a “beanRef” target in the Apache Camel Java DSL.

CamelJavaDslMethodDecl

A “method” Camel expression in the Apache Camel Java DSL.

CamelJavaDslToDecl

A declaration of a “to” target in the Apache Camel Java DSL.

ProcessorDefinitionElement

A method call to a ProcessorDefinition element.