Examples
Working examples demonstrating Forage capabilities across datasources, messaging, transactions, and AI.
All examples are self-contained and can be run with Camel JBang or exported to Spring Boot / Quarkus.
Datasource
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 |