Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (11 sloc) 0.374 kB
mq.on error: {err ->
err.printStackTrace()
}
mq.exchange(name: "webhooks.test", type: "topic", durable: false, autoDelete: true) {
queue(name: "webhooks.test.q", durable: false, autoDelete: true, routingKey: "test.key") {
publish id: "", method: "post", body: { msg, out ->
msg.properties.contentType = "application/json"
out.write("""1""".bytes)
}
}
}
Jump to Line
Something went wrong with that request. Please try again.