@Override
public void configure() throws Exception {
// START SNIPPET: e1
// just a unit test but imaging using your own data format that does complex
// and CPU heavy processing for decrypting the message
DataFormat mySecureDataFormat = new StringDataFormat("iso-8859-1");
// list on the JMS queue for new orders
from("jms:queue:order")
// do some sanity check validation
.to("bean:validateOrder")