use of org.apache.camel.impl.DefaultComponentResolver in project camel by apache.
the class MllpTcpClientProducerBlueprintTest method addServicesOnStartup.
/*
This doesn't seem to work
@Override
protected String useOverridePropertiesWithConfigAdmin(Dictionary props) throws Exception {
props.put("mllp.port", mllpServer.getListenPort() );
return "MllpTcpClientProducer";
}
*/
@Override
protected void addServicesOnStartup(Map<String, KeyValueHolder<Object, Dictionary>> services) {
ComponentResolver testResolver = new DefaultComponentResolver();
services.put(ComponentResolver.class.getName(), asService(testResolver, "component", "mllp"));
}
use of org.apache.camel.impl.DefaultComponentResolver in project camel by apache.
the class MllpTcpServerConsumerBlueprintTest method addServicesOnStartup.
@Override
protected void addServicesOnStartup(Map<String, KeyValueHolder<Object, Dictionary>> services) {
ComponentResolver testResolver = new DefaultComponentResolver();
services.put(ComponentResolver.class.getName(), asService(testResolver, "component", "mllp"));
}
Aggregations