February 1st, 2012 |
by akoelewijn |
published in
java, soa, software development
My mule configurations files often contain proxy settings for connectors that are used to communicate to the outside world. However during development and testing I can’t use the normal proxy, since i’m mocking the outside world. Littleproxy is a java proxy that you can use to replace the real proxy with a testing proxy. This [...]
December 20th, 2011 |
by akoelewijn |
published in
java, oss, soa
When I tried to use the following example by David Dossot mule-agent-based-sync-http-request-handling my jms endpoint times out. In the log i can see that the response message is created, but the outbound endpoint never receives it. After some googling i found the following blog post by Claude Mamo: ReplyTo in a Mule flow. Adding the [...]
December 14th, 2011 |
by akoelewijn |
published in
java, oss, soa
Here is a quick example how you can access you can access properties loaded using spring using the Mule expression language.
November 3rd, 2011 |
by akoelewijn |
published in
architecture, cloud, java
Ironically, one of the more interesting presentations yesterday at the nljug jfall 2011 was a presentation by David Chou of Microsoft on Azure. The largest part of his presentation discussed and demoed how you can create and deploy a java application on Azure. But the part I liked best was where he discussed architecture patterns [...]
August 22nd, 2011 |
by akoelewijn |
published in
architecture, java, open standards, oss, software development, web
One of the main goals that Software architects try to achieve is to design solutions that will last a long time. You’ll often hear an architect say that the product will have a life span of about ten years, and that all technical choices should support this goal. This means that any framework you select [...]
April 8th, 2011 |
by akoelewijn |
published in
java, oss, soa
Here’s a simple groovy script to show deployed Apache Camel routes. It uses JMX to query the description of routes available. Here’s an example of the output generated by this script:
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.
February 21st, 2011 |
by akoelewijn |
published in
java, oss
Here’s a quick example how to create a camel route that creates a route from an ActiveMQ topic. It uses a selector to receive a subset of all messages. To test this you should start ActiveMQ in the unit test. The test itself uses a mock endpoint to specify how many messages you expect, and [...]
January 4th, 2011 |
by akoelewijn |
published in
java
I ran into this annoying issue on windows: I cancelled a running junit test in maven (it was hanging), but could not rerun maven. It complained that the target folder could not be deleted. A file created by the surefire plugin in maven was locked, apparently some process was still using it. On unix you [...]
November 9th, 2010 |
by akoelewijn |
published in
java, soa
Out of the box ServiceMix comes with a preconfigured ActiveMQ broker, which is started when you start ServiceMix. Bundle 54 is the default broker. You can configure it by changing the file SERVICEMIX_HOME/etc/activemq-broker.xml You can add an extra broker by using the command activemq:create-broker in the ServiceMix shell: This command creates a configuration file for [...]