Removed akka.camel.Failure, replaced with akka.actor.Status.Failure, fixed tests

This commit is contained in:
RayRoestenburg 2012-05-11 09:46:49 +02:00
parent db1ece45e9
commit 82d9427ad4
10 changed files with 86 additions and 124 deletions

View file

@ -4,6 +4,7 @@
package akka.camel;
import akka.actor.Status;
import akka.camel.javaapi.UntypedConsumerActor;
import akka.util.Duration;
import org.apache.camel.builder.Builder;
@ -41,7 +42,7 @@ public class SampleErrorHandlingConsumer extends UntypedConsumerActor {
@Override
public void preRestart(Throwable reason, Option<Object> message){
getSender().tell(new Failure(reason));
getSender().tell(new Status.Failure(reason));
}
}