# alternera_plugin_camel v0.9.0 - API Reference

## Modules

- [Alternera.Plugins.Camel](Alternera.Plugins.Camel.md): Calls an Apache Camel route on a Camel plugin host the proxy runs: a JVM
(or a GraalVM native image) of a Maven project that depends on this
package's host runtime (`host_runtime`) and lists its own components,
such as this package's `plugin_host`, loaded with the installation's
routes. A route whose `from` is `direct:<name>` is the
route `<name>` a step names in its `route` setting
- [Alternera.Plugins.Camel.Application](Alternera.Plugins.Camel.Application.md): Starts the Camel plugin hosts' `PluginHosts.Supervisor`: their registries
and one pool per configured host (`config :alternera_plugin_camel, hosts:
[…]`), and the supervisor of the pushing sources' inboxes
(`Plugins.Camel.Inbox`). The package is a dependency of the proxy's application, so the
pools are up before a pipeline calls one; without configuration only the
registries start.

- [Alternera.Plugins.Camel.Editor](Alternera.Plugins.Camel.Editor.md): Editor for a Camel step's settings (`Alternera.Plugins.Camel`): the
plugin hosts' step editor (`Alternera.PluginHosts.StepEditor`, whose
moduledoc lists its fields and assigns) in Camel's words, with the route
as the operation.

- [Alternera.Plugins.Camel.HostSpec](Alternera.Plugins.Camel.HostSpec.md): The `t:Alternera.PluginHosts.Host.spec/0` of a Camel plugin host: a
Maven project that depends on the host runtime (`host_runtime`,
`alternera:alternera-camel-host`) and lists its own components,
built with `mvn package`. This package's `plugin_host` is one, and the
default.

- [Alternera.Plugins.Camel.Inbox](Alternera.Plugins.Camel.Inbox.md): Where a pushing Camel source's messages wait on the proxy until the
trigger's runner takes them (`Plugins.Camel.Source`, delivery `push`).
- [Alternera.Plugins.Camel.Source](Alternera.Plugins.Camel.Source.md): A Camel consumer route as a message source
(`Alternera.Plugin.Provisional.Source`), which a source trigger
reads: a route on one of the tenant's Camel hosts that ends at
`alternera:source:<name>` parks each delivery its consumer gets, and the
trigger's runner takes them, runs a pipeline once per message and settles
each by how its run ended. The host's side is `Sources` in its runtime
(`host_runtime`). A RabbitMQ (`spring-rabbitmq`) delivery is settled on its
channel; any other consumer's by how its exchange completes (`GenericSource`
there): done for an ack, failed for a reject, a retry or a give-back, the
route's own error handling deciding.

