Coming soon ChenAIle — agentic microservices: agents, AI tool calls, machine learning and a metrics-driven rules engine Learn more →
How it works

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.

Chenile services exposed via multiple transports HTTP clients, local Chenile proxies, AI agents over MCP, pub-sub brokers (Kafka, Azure Event Hub, MQTT, JVM pub-sub) and triggers (cron, file watcher, external HTTP) reach transport adapters (ControllerSupport, HttpEntryPoint, LocalProxyInvoker, ChenileMCP, PubSubEntryPoint for @ChenilePubSub invocations, EventProcessor for Chenile events), which all hand off to ChenileEntryPoint and the chenile-highway interceptor chain before the registered services are invoked. A remote proxy becomes an HTTP client of the service. A Spring RestController sits in the request path; a non-REST ChenileController only supplies the definition at startup. HTTP client HTTP client Chenile proxy AI agent (MCP) Kafka Azure Event Hub MQTT JVM pub-sub Cron File watcher Ext HTTP trigger @RestControllerSpring · in the request path @ChenileControllerdefinition only · not in path Spring MVC route registers routes at startup local MCP tool call remote: becomes an HTTP client Pub-sub consumerschenile-messaging Trigger servicemode: outbox Chenile transport adapters ControllerSupportprocess(...) HttpEntryPointannotation and JSON routes LocalProxyInvokerChenile proxy · local ChenileMCPtool callback PubSubEntryPoint@ChenilePubSub invocation EventProcessorhandleEvent(id, …) Outboxrows: 0 ChenileEntryPoint chenile-highway headers pre-proc transform svc-ref post-proc invoke Service Acalls: 0 Service Bcalls: 0
Send
Trigger mode
Watching traffic…

Click any box to see what it is and where to read more.

Reading the picture

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.

The adapters

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 →

Zoom in

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.

Runtime internals →   How Owiz runs the chain →

When the service is a workflow

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.

Meet Finito, the state machine ↗