Listing ActiveMQ queues with JMX and Groovy
March 18th, 2011 | by akoelewijn | published in java, oss, soa
The following groovy script displays a list of queues in ActiveMQ with some statistics per queue.
March 18th, 2011 | by akoelewijn | published in java, oss, soa
The following groovy script displays a list of queues in ActiveMQ with some statistics per queue.
March 18th, 2011 | by akoelewijn | published in oss, soa
The following groovy script can be used to list all Camel routes on a running servicemix. Per route it will display state of the route, and some statistics.
October 27th, 2009 | by akoelewijn | published in oss, soa, web
Here’s a simple file monitoring tool which uses cometd to push file changes to a webpage. The server part consists of a groovy script which uses Apache Camel to monitor some files. It then uses Apache Camel to push the lines added to the files to the browser with Cometd. In the webpage a bit [...]
March 11th, 2009 | by akoelewijn | published in java, oss, soa
I’m still playing around with groovy scripting. It’s an excellent way to quickly prototype some ESB scenarios. Last week i blogged about using groovy to write files to a gtalk account using Apache Camel, the example below shows you how to start an ActiveMQ broker, which persists messages to a PostgreSQL database. An Apache Camel [...]
March 11th, 2009 | by akoelewijn | published in java, oss, soa
The latest release of Java Magazine contains an article i wrote titled: Client Server 2.0 with jQuery and Grails. Unfortunately, not all code examples fitted into the magazine. You can download the complete article, including screenshots and sourcecode here: Client Server 2.0 met jQuery en Grails (dutch).
February 28th, 2009 | by akoelewijn | published in soa
Groovy 1.6 makes it really easy to quickly try out new frameworks. Dependency management build into the language allows you to write simple scripts, all required libraries will be downloaded automatically when you run it. Here’s an example using Apache Camel. This script can simply be run from the command prompt. Groovy will compile it, [...]