Ballerina Activemq Server
БесплатноНе проверенAutomates the full setup and deployment of Ballerina + Apache ActiveMQ integrations inside a WSO2 Integrator workspace, from broker validation to a runnable BI-
Описание
Automates the full setup and deployment of Ballerina + Apache ActiveMQ integrations inside a WSO2 Integrator workspace, from broker validation to a runnable BI-low-code-ready project.
README
An MCP server that automates the full setup and deployment of Ballerina + Apache ActiveMQ (OpenWire/JMS) integrations inside a WSO2 Integrator (BI) workspace — from broker validation to a runnable, BI-low-code-ready project — with minimal user interaction.
It generates code against the ballerinax/activemq connector (v0.1.0, Ballerina 2201.12.10),
matching the real connector API (Client / Listener / Caller / Transaction). See
INSPECTION_NOTES.md for the Phase 0 API inspection this is built on.
Tools
| Tool | Purpose |
|---|---|
mq_validate_broker |
TCP reachability to the OpenWire port (+ Jolokia console destination listing). |
mq_scaffold_project |
Main tool. Generate a complete BI-ready Ballerina project. |
mq_write_config_toml |
Write/rotate the broker Config.toml. |
mq_add_queue |
Add a queue producer/consumer helper module. |
mq_add_topic |
Add a topic (pub/sub) publisher helper module. |
mq_add_listener |
Add a Listener service — the polling-loop carrier — with ack-mode/transaction options. |
mq_set_ack_mode |
Change the acknowledgement mode on a listener service (edits the @activemq:ServiceConfig). |
mq_build_project |
Run bal build. |
mq_deploy_project |
Run bal run; returns PID (+ service URL). |
Acknowledgement modes
ack_mode |
Ballerina enum | Needs Caller? |
Semantics |
|---|---|---|---|
auto (default) |
AUTO_ACKNOWLEDGE |
no | auto-ack on successful onMessage return |
client |
CLIENT_ACKNOWLEDGE |
yes | caller->acknowledge(message) |
dups-ok |
DUPS_OK_ACKNOWLEDGE |
no | lazy ack, possible duplicates |
transacted |
SESSION_TRANSACTED |
yes | caller->'commit() / 'rollback() |
The ack mode is a compile-time annotation field, so it lives in
listener.bal(notConfig.toml).mq_set_ack_modeedits the source accordingly.
Build
npm install
npm run build
Run
# stdio (default — for MCP clients that spawn the server)
npm start
# streamable HTTP, bound to 127.0.0.1
npm run start:http # or: node dist/index.js --http --port 3000
Register with an MCP client (stdio)
{
"mcpServers": {
"ballerina-activemq": {
"command": "node",
"args": ["/absolute/path/to/ballerina-activemq-mcp-server/dist/index.js"]
}
}
}
What gets scaffolded
mq_scaffold_project writes a complete project under <bi_path>/<project_name>/:
Ballerina.toml · Dependencies.toml · Config.toml (+ .example, gitignored) · .gitignore
main.bal · listener.bal · transactions.bal · modules/<dest>/<dest>.bal
docker-compose.yml (apache/activemq-classic:6.2.0) · README.md
main.bal—configurablebroker settings +activemq:Clientproducer/consumer demo.listener.bal— the polling-loop carrier: a declarativeservice activemq:Service on mqListenerper destination, ack mode baked into@activemq:ServiceConfig.- Virtual topics — publish to
topic://VirtualTopic.<name>; consume the queueConsumer.<group>.VirtualTopic.<name>.
Design notes
This is JMS/OpenWire, not Kafka. Consumer groups, offset commits, partitions, and
bootstrap.servers have no analog here and are intentionally absent — reliability comes from
ack modes and transacted sessions. The closest thing to a consumer group is an ActiveMQ
Virtual Topic, modeled as a queue naming convention. See INSPECTION_NOTES.md for the full
rejected-Kafka-patterns rationale.
License
Apache-2.0
from github.com/PasinduGunarathne/wso2-bi-activemq-mcp-server
Установка Ballerina Activemq Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/PasinduGunarathne/wso2-bi-activemq-mcp-serverFAQ
Ballerina Activemq Server MCP бесплатный?
Да, Ballerina Activemq Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Ballerina Activemq Server?
Нет, Ballerina Activemq Server работает без API-ключей и переменных окружения.
Ballerina Activemq Server — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Ballerina Activemq Server в Claude Desktop, Claude Code или Cursor?
Открой Ballerina Activemq Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Ballerina Activemq Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
