direct://<operationId> route. Each operationId is one of the operations declared in the Grand Central OpenAPI spec the connector implements; the OpenAPI plugin auto-wires the inbound REST DSL to those direct:// routes. The route then calls the vendor through a kamelet, almost always gc-http-caller for REST.
The skeleton every connector has
Every connector class extendsRouteBuilder, declares its kamelet URIs and property names as constants, registers the header-removal policy and GrandCentralUtil bean, then defines one direct://<operationId> per OpenAPI operation.
REST/JSON operation patterns
These are the canonical shapes of two of the most common HTTP operations. Both assume JSON in and JSON out, and use thegc-http-caller kamelet for the vendor call.
GET with query parameters
POST to create a resource
SOAP/XML anatomy at a glance
When the vendor exposes a SOAP/WSDL API, the connector marshals JSON to XML, applies an XSLT, calls the vendor through the vendor SDK kamelet, transforms the SOAP response back to JSON, and runs a type-coercion processor.correctNumericAndBooleanValuesInJsonFromProperties after xmlToJson because Jackson’s XML deserializer renders every value as a string. The processor coerces numbers and booleans back, honoring typeConversion.skipAttributes.