From 76e56fd619c2ad92be732698103fdecf4f4cd291 Mon Sep 17 00:00:00 2001 From: Simon Sadedin Date: Fri, 23 Aug 2024 15:42:56 +1000 Subject: [PATCH] add docs for setting bpipeHome for agents --- docs/Guides/JMS.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/Guides/JMS.md b/docs/Guides/JMS.md index 99b1a345..bb044318 100644 --- a/docs/Guides/JMS.md +++ b/docs/Guides/JMS.md @@ -329,7 +329,30 @@ agents { ``` +## Specifying the Path to Bpipe +By default, the agent runs commands using the same Bpipe installation that launched the agent. You +can change it to use a different one on a per-agent basis using the `bpipeHome` setting: +```groovy +agents { + + main { + commandQueue='run_pipeline' + brokerURL='tcp://activemq.server.com:61616' + messageSelector = "JMSType = 'main'" + } + + legacy { + commandQueue='run_pipeline' + brokerURL='tcp://activemq.server.com:61616' + messageSelector = "JMSType = 'legacy'" + bpipeHome = '/opt/bpipe/0.9.1' + } +} +``` + +This example supports a "legacy" option that uses an old version of Bpipe when a header is set to "legacy". +