Apache Karaf on Vagrant (example Vagrantfile)

January 13, 2016

If you have a team developing OSGi applications for Apache Karaf, Vagrant provides an easy way to ensure everyone is testing local deployments in a consistent context.  Vagrant is a little like Docker, using a layered approach to build up virtual environments.  In this case, we create an Ubuntu “box”, running on a VirtualBox VM, […]

Apache Camel: Throw Exception from Sub-Route to Previous Route

December 30, 2015

By default, each Apache Camel route has its own error handler, meaning each independently catches and handles Exceptions thrown within it.  But, what if a “parent route” needs to catch and handle Exceptions thrown by a sub-route?  Here’s one approach:

Find Transaction Leaks in Wildfly and JCA

December 29, 2015

Here’s a quick tip: the easiest way to find transaction leaks in Wildfly/JCA.

How to Issue Bulk Refunds through the Stripe API

December 10, 2014

Today was not a good day.  In short, a nonprofit’s online donation form was hit 1,285 times in an attempt to validate stolen credit cards.  Unfortunately, 120 of those succeeded, meaning our Stripe account had over $600 in fraudulent donations.  I needed a quick way to fully refund those charges, but in bulk.  Through the Java […]

The Responsible Consultant: What project information should my software/web developer provide?

November 10, 2014

Getting right to the point, many (possibly even most) software/web developers will simply hand you the deliverable upon project completion and call it a day. The tools and processes used are often held back, forcing you to always go through them for updates or eventually argue with them to get what you need. Although the […]