removed calls to deprecated Props constructor in java code

This commit is contained in:
drexin 2013-05-02 17:00:44 +02:00
parent bdfc1e4bf9
commit 308428e7bc
14 changed files with 28 additions and 68 deletions

View file

@ -41,7 +41,7 @@ public class ConsumerJavaTestBase {
ExecutionContext executionContext = system.dispatcher();
try {
Await.result(
camel.activationFutureFor(system.actorOf(new Props(SampleErrorHandlingConsumer.class), "sample-error-handling-consumer"), timeout, executionContext),
camel.activationFutureFor(system.actorOf(Props.create(SampleErrorHandlingConsumer.class), "sample-error-handling-consumer"), timeout, executionContext),
duration);
return camel.template().requestBody("direct:error-handler-test-java", "hello", String.class);
}