diff --git a/services-camel-app/src/main/java/edu/unc/lib/boxc/services/camel/audio/AudioEnhancementsRouter.java b/services-camel-app/src/main/java/edu/unc/lib/boxc/services/camel/audio/AudioEnhancementsRouter.java index 0f0e7a40fb..c69a5c6377 100644 --- a/services-camel-app/src/main/java/edu/unc/lib/boxc/services/camel/audio/AudioEnhancementsRouter.java +++ b/services-camel-app/src/main/java/edu/unc/lib/boxc/services/camel/audio/AudioEnhancementsRouter.java @@ -51,7 +51,7 @@ public void configure() throws Exception { .setBody(exchange -> uuidGenerator.generateUuid()) .setHeader(CdrFcrepoHeaders.CdrTempPath, simple("${properties:services.tempDirectory}/${body}-audio")) .doTry() - .recipientList(simple("exec:/bin/sh?args=${properties:cdr.enhancement.bin}/convertWav.sh " + .recipientList(simple("exec:/bin/sh?args=${properties:cdr.enhancement.bin}/convertAudio.sh " + "${headers[CdrAudioPath]} ${headers[CdrTempPath]}")) .bean(addAudioAccessCopyProcessor) .endDoTry() diff --git a/services-camel-app/src/test/java/edu/unc/lib/boxc/services/camel/enhancements/EnhancementRouterIT.java b/services-camel-app/src/test/java/edu/unc/lib/boxc/services/camel/enhancements/EnhancementRouterIT.java index 61ec00fed4..928026fa2c 100644 --- a/services-camel-app/src/test/java/edu/unc/lib/boxc/services/camel/enhancements/EnhancementRouterIT.java +++ b/services-camel-app/src/test/java/edu/unc/lib/boxc/services/camel/enhancements/EnhancementRouterIT.java @@ -131,7 +131,7 @@ public void init() throws Exception { FileUtils.writeStringToFile(jp2ScriptFile, "exit 0", "utf-8"); jp2ScriptFile.deleteOnExit(); - File audioScriptFile = new File("target/convertWav.sh"); + File audioScriptFile = new File("target/convertAudio.sh"); FileUtils.writeStringToFile(audioScriptFile, "exit 0", "utf-8"); audioScriptFile.deleteOnExit(); }