Skip to main content
The gc-http-caller kamelet is the canonical way to make any REST/JSON call out of the connector. Use it for every HTTP method by passing ?method=GET|POST|PUT|DELETE|PATCH. It handles retries, timeouts, headers, query params, and path variables, and produces structured Grand Central errors through JOLT.

How the kamelet reads inputs

The kamelet reads the URL, query parameters, path variables, and headers from the exchange. Set them before the .to(...) call. The kamelet writes all of these onto the outgoing HTTP request and clears them after the call returns.

Kamelet parameters you can tune

The following parameters have defaults, but you can override them in configuration properties in the Grand Central DevHub Application Live repository of your installation: https://github.com/bb-ecos-${installation}/gc-devhub-${installation}-applications-live/tree/main/runtimes/{runtime}/values/{namespace}/{deployment-name}-values.yaml

Typical call forms

Exception-handler kamelets

You typically register these once in configure() through onException(...). Each turns a thrown exception into a structured Grand Central error response. Kamelet files are available in the grandcentral-platform-kamelets artifact. Example registration:

Next step

For the Camel building blocks that connect these calls, see Use Camel EIPs.