Skip to content

Commit

Permalink
add docs for setting bpipeHome for agents
Browse files Browse the repository at this point in the history
  • Loading branch information
ssadedin committed Aug 23, 2024
1 parent d705f7a commit 76e56fd
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/Guides/JMS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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".


0 comments on commit 76e56fd

Please sign in to comment.