JVM since2.11.0 Native since2.11.0

Evaluates a JQ expression against a JSON message body.

What’s inside

Please refer to the above link for usage and configuration details.

Maven coordinates

Or add the coordinates to your existing project:


Check the User guide for more information about writing Camel Quarkus applications.


JQ transformations to custom result types in native mode

If you choose to perform JQ transformations that specify the result class as some custom type in native mode, then you must register that type for reflection.

E.g via the @RegisterForReflection annotation or configuration property quarkus.camel.native.reflection.include-patterns. For example:

public class Book {
public class MyJQRoutes extends RouteBuilder {
    public void configure() {
            .transform().jq(".book", Book.class);

Refer to the Native mode user guide for more information.