Examples
Working examples demonstrating Forage capabilities across datasources, messaging, transactions, and AI.
All examples can be run with Camel JBang. Export support for Spring Boot and Quarkus is described on each module page.
Datasource
InfluxDB
| Example | Description |
| Write Metrics | Write a temperature point to InfluxDB 2 and query it with Flux |
JMS
CXF
| Example | Description |
| SOAP Client | Call a SOAP web service -- WSDL-driven configuration walkthrough |
| Secured SOAP Client | SOAP with SSL/TLS and username/password authentication |
| SOAP Server | Expose a SOAP server endpoint from properties |
Transactions
| Example | Description |
| Distributed XA | Single XA transaction spanning JMS and JDBC |
AI
| Example | Description |
| Single Agent | AI agent with tool use and memory (Ollama) |
| Multi-Agent | Multiple agents with different providers (Gemini + Ollama) |
| RAG | Retrieval-Augmented Generation with embeddings and vector store |