This is an automated email from the ASF dual-hosted git repository.
johnsd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ctakes.git
The following commit(s) were added to refs/heads/main by this push:
new 3cafa6c Fixing comments for receive and send queue commands
3cafa6c is described below
commit 3cafa6c19539e20266ebafb116343cf14fe80f27
Author: Dennis Johns <[email protected]>
AuthorDate: Wed Jan 10 13:43:13 2024 -0500
Fixing comments for receive and send queue commands
---
.../org/apache/ctakes/examples/pipeline/PbjSentencePrinter.piper | 4 ++--
.../resources/org/apache/ctakes/examples/pipeline/PbjWordFinder.piper | 4 ++--
.../org/apache/ctakes/examples/pipeline/PbjWordFinderInOne.piper | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git
a/ctakes-examples/src/user/resources/org/apache/ctakes/examples/pipeline/PbjSentencePrinter.piper
b/ctakes-examples/src/user/resources/org/apache/ctakes/examples/pipeline/PbjSentencePrinter.piper
index ade1257..f0d388e 100644
---
a/ctakes-examples/src/user/resources/org/apache/ctakes/examples/pipeline/PbjSentencePrinter.piper
+++
b/ctakes-examples/src/user/resources/org/apache/ctakes/examples/pipeline/PbjSentencePrinter.piper
@@ -44,8 +44,8 @@ add CtakesRunner Pipeline="-p PbjThirdStep -o
$OutputDirectory -a $ArtemisBroker
// Declare the python pipeline defining the second step in the total pipeline.
set PbjSecondStep=ctakes_pbj.examples.sentence_printer_pipeline
-// There is a fixed order to queue specification in python pipelines.
-// The incoming (receiver) queue is named first, the outgoing (sender) queue
is named second.
+// The receive and send queue names must be specified.
+// --receive_queue and -rq are equivalent, as are --send_queue and -sq
add PythonRunner Command="-m $PbjSecondStep --receive_queue JavaToPy
--send_queue PyToJava" LogFile=sentence_printer_pipeline.log
diff --git
a/ctakes-examples/src/user/resources/org/apache/ctakes/examples/pipeline/PbjWordFinder.piper
b/ctakes-examples/src/user/resources/org/apache/ctakes/examples/pipeline/PbjWordFinder.piper
index 4b24c21..9cbfff4 100644
---
a/ctakes-examples/src/user/resources/org/apache/ctakes/examples/pipeline/PbjWordFinder.piper
+++
b/ctakes-examples/src/user/resources/org/apache/ctakes/examples/pipeline/PbjWordFinder.piper
@@ -44,8 +44,8 @@ add CtakesRunner Pipeline="-p PbjThirdStep -o
$OutputDirectory -a $ArtemisBroker
// Declare the python pipeline defining the second step in the total pipeline.
set PbjSecondStep=ctakes_pbj.examples.word_finder_pipeline
-// There is a fixed order to queue specification in python pipelines.
-// The incoming (receiver) queue is named first, the outgoing (sender) queue
is named second.
+// The receive and send queue names must be specified.
+// --receive_queue and -rq are equivalent, as are --send_queue and -sq
add PythonRunner Command="-m $PbjSecondStep --receive_queue JavaToPy
--send_queue PyToJava" LogFile=word_finder_pipeline.log
diff --git
a/ctakes-examples/src/user/resources/org/apache/ctakes/examples/pipeline/PbjWordFinderInOne.piper
b/ctakes-examples/src/user/resources/org/apache/ctakes/examples/pipeline/PbjWordFinderInOne.piper
index 5136d22..070c55e 100644
---
a/ctakes-examples/src/user/resources/org/apache/ctakes/examples/pipeline/PbjWordFinderInOne.piper
+++
b/ctakes-examples/src/user/resources/org/apache/ctakes/examples/pipeline/PbjWordFinderInOne.piper
@@ -32,8 +32,8 @@ load PbjStarter
// Declare the python pipeline defining the second step in the total pipeline.
set PbjSecondStep=ctakes_pbj.examples.word_finder_pipeline
-// There is a fixed order to queue specification in python pipelines.
-// The incoming (receiver) queue is named first, the outgoing (sender) queue
is named second.
+// The receive and send queue names must be specified.
+// --receive_queue and -rq are equivalent, as are --send_queue and -sq
add PythonRunner Command="-m $PbjSecondStep --receive_queue JavaToPy
--send_queue PyToJava"