public static void main(String[] args) throws Exception {
LdapDicomConfiguration dicomConf = new LdapDicomConfiguration();
Device device = dicomConf.findDevice(args[0]);
Main main = new Main();
main.bind("dicomDevice", new DicomDeviceComponent(device));
main.addRouteBuilder(new RouteBuilder(){
@Override
public void configure() throws Exception {
from("dicomDevice:dicom?sopClasses=1.2.840.10008.1.1").bean(EchoSCP.class);