The pipeline — Developer Docs

Implementation guides, configuration and reference for The pipeline. Choose a guide below, or use the tabs to explore the topic.

Runtime internals

How a request becomes a ChenileExchange, flows through the chenile-highway interceptor chain, gets typed and bound to your method, and comes back as a GenericResponse — for HTTP and events alike.

Exchange lifecycle

ChenileExchange is the central runtime object in Chenile. Nearly every important piece of framework behavior is expressed by reading from it or writing to it.

Interceptor chain

The concrete Chenile interceptor flow is in chenile-core/src/main/resources/org/chenile/core/chenile-core.xml.

Transformation

Chenile’s transformation subsystem is responsible for turning an incoming raw request body into the Java object that the target service method expects.

ServiceInvoker & binding

ServiceInvoker is the final bridge between Chenile’s transport-neutral execution context and your application’s domain-oriented service methods.

Service definition JSON

Register Chenile services from JSON files instead of controller annotations: the file format, operations and parameters, and how definitions are validated.

Response headers

A service result can implement org.chenile.base.response.ResponseHeadersAware to provide response headers. The interface lives in chenile-base; service APIs need no dependency on chenile-http, servlet response objects,…