public void configure() throws Exception {
from("dicomDevice:dicom?sopClasses=1.2.840.10008.1.1").bean(EchoSCP.class);
}});
main.enableHangupSupport();
System.out.println("Starting Camel. Use ctrl + c to terminate the JVM.\n");
main.run();
}
@Override
public void process(Exchange exchange) throws Exception {
DicomMessage in = exchange.getIn(DicomMessage.class);