One service, many transports
A Chenile service is defined and registered once. HTTP, proxies, AI agents, pub-sub brokers and triggers each reach it through a transport adapter, and every adapter hands off to the same ChenileEntryPoint and chenile-highway. Your policies run once, in one place, whatever the caller.
Click any box to see what it is and where to read more.
Define once, subscribe many ways
1 · Register a Chenile service
A @ChenileController or a JSON definition describes the service once: its operations, parameters and body types. At startup it registers HTTP routes and event subscriptions. A non-REST @ChenileController is never invoked on a request; it is only the definition.
2 · Subscribe to HTTP
A Spring @RestController sits in the request path: it receives the request and deflects it through ControllerSupport. Annotation and JSON services skip it, because HttpEntryPoint handles their routes directly.
3 · Subscribe to a Chenile event
Other than HTTP, everything is an event. Kafka, Azure Event Hubs, MQTT and JVM pub-sub topics, schedules, file watch and posted triggers all raise events through EventProcessor, which creates one exchange for each subscribed operation.
4 · Proxies and agents
A Chenile proxy to a local service calls ChenileEntryPoint through LocalProxyInvoker; to a remote service it becomes an HTTP client, so the call comes in through that service’s HTTP entry point. An MCP tool call enters through ChenileMCP, so AI agents get the same security, tenancy and logging as every other caller.
Every door leads to one entry point
Each adapter turns its transport's message into a ChenileExchange and calls ChenileEntryPoint. Nothing reaches a service bean any other way.
ControllerSupport
Spring @RestController classes call process(...). Runtime internals →
HttpEntryPoint
Routes registered from annotation and JSON service definitions. Annotation services →
LocalProxyInvoker
A proxy call to a service in the same deployable. A remote proxy becomes an HTTP client instead. Registry and proxies →
ChenileMCP
AI tool calls over MCP Streamable HTTP, with the caller's headers. MCP →
EventProcessor
Chenile events from brokers, schedules, file watch and triggers; one exchange per subscriber. Events →
PubSubEntryPoint
@ChenilePubSub invocations: a topic that names one service operation. Messaging transports →
Inside the highway
The chenile-highway is an Owiz chain of interceptors. Your service policies are interceptors, so they run around the business logic, never inside it.
An entity walking its state machine
Workflow services add a Finito state machine behind the same entry point: each event moves the entity to its next state.