removed calls to deprecated Props constructor in java code
This commit is contained in:
parent
bdfc1e4bf9
commit
308428e7bc
14 changed files with 28 additions and 68 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue