Skip to content

Commit

Permalink
https://github.com/gbif/pipelines/issues/1078
Browse files Browse the repository at this point in the history
routing was using the wrong message
  • Loading branch information
fmendezh committed Sep 23, 2024
1 parent 92b2970 commit 1f9acb0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import org.gbif.common.messaging.api.MessagePublisher;
import org.gbif.common.messaging.api.messages.PipelinesHdfsViewMessage;
import org.gbif.common.messaging.api.messages.PipelinesInterpretationMessage;
import org.gbif.common.messaging.api.messages.PipelinesInterpretedMessage;
import org.gbif.pipelines.common.PipelinesVariables;
import org.gbif.pipelines.common.airflow.AppName;
import org.gbif.pipelines.common.process.AirflowSparkLauncher;
Expand Down Expand Up @@ -51,7 +50,7 @@ public void handleMessage(PipelinesHdfsViewMessage message) {

@Override
public String getRouting() {
return new PipelinesInterpretedMessage().setRunner(config.processRunner).getRoutingKey();
return new PipelinesHdfsViewMessage().setRunner(config.processRunner).getRoutingKey();
}

/** Main message processing logic, creates a terminal java process, which runs */
Expand Down

0 comments on commit 1f9acb0

Please sign in to comment.