Tag Archives: java

Altova MapForce Generated Java Code Warning

By | August 30, 2014

Very Briefly for the Impatient Java code generated by Altova MapForce in the “com.altova” package and sub-packages may differ between different mappings. It is not possible to create a common library and reuse it between different mappings without risking errors. The Slightly Longer Version At the office we use Altova’s MapForce to create mappings and… Read More »

Using Message Cowboy

By | August 4, 2014

In this second article about Message Cowboy, the tool to perform scheduled file moves and message transfers, I will talk a bit about how to use the program. Configuration Properties Using the configuration properties, we can configure which database will be used, whether to start an embedded ActiveMQ broker and some additional aspects of database… Read More »

Message Cowboy – An Introduction

By | July 22, 2014

Round ’em messages up and bring them home! Message Cowboy is a standalone integration program that allows for scheduling of tasks that transfer files or messages from one directory, JMS queue etc to another directory, JMS queue etc. Messages may be transformed or processed in some other way before being delivered to the destination. Some… Read More »

Publish JavaDoc API Documentation when Releasing from Jenkins

By | December 26, 2013

This article describes how to publish JavaDoc API documentation for a Maven project built on Jenkins when that project is released. The JavaDoc API documentation is published using the same instance of Apache Tomcat 7 that Jenkins runs on. Motivation I wanted to, using the simplest way possible, publish JavaDoc API documentation for releases of… Read More »

Comparing XML with XMLUnit and Character Encoding

By | September 18, 2013

XMLUnit is an excellent library for comparing XML when you want to go beyond mere string comparison and, for instance, disregard whitespace or other aspects of the XML fragments that are compared. In my current area of interest, systems integration, the fact that two XML fragments convey the same information is not always enough. In… Read More »

Unit-testing Mule transformers which access session and/or invocation scopes

By | July 4, 2013

Problem When attempting to unit-test a Mule transformer that need access to session- or invocation-scoped message properties, I found the result to be an IllegalStateException that told me: Detected an attempt to set an invocation or session property, but a MuleEvent hasn’t been created using this message yet. I managed to trace the problem to… Read More »