This repository was archived and transferred to https://github.com/camunda/connectors-bundle.
Camunda RabbitMQ Connector
Find the user documentation in our Camunda Platform 8 Docs.
Build
mvn clean package
API
Input
{
"authentication": {
"authType": "credentials",
"userName": "secrets.USERNAME",
"password": "secrets.PASSWORD"
},
"routing": {
"exchange": "exchangeName",
"routingKey": "routingKey",
"virtualHost": "virtualHostName",
"hostName": "localhost",
"port": "5672"
},
"message": {
"body": {"messageBodyKey": "value"},
"properties": {
"contentType":"text/plan",
"headers": {
"key": "value",
"key2":"value2"
}
}
}
}
{
"authentication": {
"authType": "uri",
"uri": "amqp://userName:password@localhost:5672/virtualHostName"
},
"routing": {
"exchange": "exchange",
"routingKey": "routingKey"
},
"message": {
"properties": {
"contentType":"text/plan",
"headers": {
"key": "value"
}
},
"body": "some data for send"
}
}
Output
{
"result": {
"statusResult": "success"
}
}
Test locally
Run unit tests
mvn clean verify
Test as local Job Worker
Use the Camunda Connector Runtime to run your function as a local Job Worker.
🔒 Test as local Google Cloud Function
Warning This is Camunda-internal only. The Maven profile
cloud-function
accesses an internal artifact.
Build as Google Cloud Function
mvn function:run -Pcloud-function
See also the 🔒Camunda Cloud Connector Run-Time on how your function is run as a Google Cloud Function.
Element Template
The element templates can be found in the element-templates/template-connector.json file.
Build a release
Trigger the release action manually with the version x.y.z
you want to release and the next SNAPSHOT version.