Skip to content

Commit

Permalink
fixed compile errors
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
  • Loading branch information
thjaeckle committed Jul 14, 2022
1 parent 62ed425 commit 388453f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1734,7 +1734,7 @@ private Pair<ActorRef, ActorRef> startOutboundActors(final ProtocolAdapter proto
getContext().actorOf(outboundMappingProcessorActorProps, OutboundMappingProcessorActor.ACTOR_NAME);

final Props outboundDispatchingProcessorActorProps = OutboundDispatchingActor.props(
commandForwarderActorSelection, settings, processorActor);
settings, processorActor);
final ActorRef dispatchingActor =
getContext().actorOf(outboundDispatchingProcessorActorProps, OutboundDispatchingActor.ACTOR_NAME);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,22 +59,18 @@ final class OutboundDispatchingActor extends AbstractActor {

private final OutboundMappingSettings settings;
private final ActorRef outboundMappingProcessorActor;
private final ActorSelection commandForwarder;

@SuppressWarnings("unused")
private OutboundDispatchingActor(final ActorSelection commandForwarder,
final OutboundMappingSettings settings,
private OutboundDispatchingActor(final OutboundMappingSettings settings,
final ActorRef outboundMappingProcessorActor) {

this.commandForwarder = commandForwarder;
this.settings = settings;
this.outboundMappingProcessorActor = outboundMappingProcessorActor;
}

static Props props(final ActorSelection commandForwarder, final OutboundMappingSettings settings,
final ActorRef outboundMappingProcessorActor) {
static Props props(final OutboundMappingSettings settings, final ActorRef outboundMappingProcessorActor) {

return Props.create(OutboundDispatchingActor.class, commandForwarder, settings, outboundMappingProcessorActor);
return Props.create(OutboundDispatchingActor.class, settings, outboundMappingProcessorActor);
}

@Override
Expand Down Expand Up @@ -161,7 +157,7 @@ private Signal<?> adjustSignalAndStartAckForwarder(final Signal<?> signal, final
// start ackregator for source declared acks
return AcknowledgementForwarderActor.startAcknowledgementForwarder(getContext(),
self(),
commandForwarder,
settings.getProxyActor(),
entityId,
signal,
settings.getAcknowledgementConfig(),
Expand Down

0 comments on commit 388453f

Please sign in to comment.