Introduction to my PC build

I’ve built some PCs before but those projects have really been a case of buying the right parts and bolting them together. My current build is going to be a little different though. I want to learn some new skills and produce something practically and hopefully cool. The parts going into this build are all recycled from old PCs so don’t expect the latest and greatest hardware. The focus of the project is the case mods....

January 22, 2014 · 4 min · Matt Biggin

When is a Boolean not a Boolean?

You have to be careful doing the obvious thing sometimes because it doesn’t always give you the result to want. For instance, I had a requirement to add a header to a message generated in an Apache Camel route. Seemed simple to be so I added this: <setHeader headerName="NEW_HEADER"> <constant>true</constant> </setHeader> The hidden issue with this is that the header will be a java.lang.String and it will have the value of “true”....

January 21, 2014 · 1 min · Matt Biggin

SEDA queue sizes and importance of reading API docs

One of the key benefits of a SEDA queue is the ability to buffer requests and tasks within an Apache Camel route. You split up your processing into discrete tasks and then wire these tasks together using SEDA queues. You can then tune the number of consumers you have running against the queues to get the throughput that you need. To be able to do this tuning you need to know the back pressure on the consumers, i....

January 20, 2014 · 2 min · Matt Biggin

Placeholders in Apache Camel routes

One of the nice things that Spring allows you to do is to add property placeholders to your configuration files and then define the values at runtime. The options are endless as to what you might want to use this feature for. One thing you cannot do though is to use a spring property placeholder inside Camel XML. You can find more details about why here http://camel.apache.org/how-do-i-use-spring-property-placeholder-with-camel-xml.html. Looking specifically at aggregators, imagine you wanted to do this:...

December 22, 2013 · 2 min · Matt Biggin

2012 Gatliff Marathon - Race Report

I’d heard that Gatliff was hard and it lived up to that assessment. The course was extremely muddy and had plenty of water on it, both making for difficult running conditions. I must be wired wrong because under those conditions I stop bothering to avoid muddy puddles and simply run right through the middle of them. It’s actually much easier to plough through the middle than to edge around the sides trying to avoid getting your feet wet....

December 2, 2012 · 2 min · Matt Biggin