Skip to content

Commit 26934c2

Browse files
authored
Update README.md
1 parent f0b4ef6 commit 26934c2

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

README.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
# Holodeck B2B Pull Request trigger extension
2-
This extension allows the _Consumer_ application to control when _Pull Request_s are send by Holodeck B2B
3-
instead of the default fixed intervals. It also allows to specify the _simple selection criteria_ of a "selective"
4-
Pull Request as specified in [section 5.1 of ebMS V3 part 2 (Advanced Features)](http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/part2/201004/cs01/ebms-v3.0-part2-cs01.html#__RefHeading__435723_822242408).
1+
# Holodeck B2B Pull Request Trigger extension
2+
This extension allows the _Consumer_ application to control when a _Pull Request_ is sent by Holodeck B2B
3+
instead of using the default fixed intervals.
4+
This extension also allows you to specify the _simple selection criteria_ of a "selective" Pull Request as specified in [section 5.1 of ebMS V3 part 2 (Advanced Features)](http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/part2/201004/cs01/ebms-v3.0-part2-cs01.html#__RefHeading__435723_822242408). This advanced ebMS3 feature lets you specify in your Pull Request which message you want to receive.
55

6-
Currently the trigger mechanism is file based; the back-end application writes a XML document to a specific
7-
directory where it is read by the extension and a corresponding Pull Request is triggered.
6+
The trigger mechanism is file based; the back-end application writes an XML document to a specific directory where it is read by the extension and a corresponding Pull Request is triggered.
87
__________________
98
For more information on using Holodeck B2B visit the website at http://holodeck-b2b.org
109
Lead developer: Sander Fieten
@@ -19,22 +18,22 @@ This extension can be used with Holodeck B2B version 4.1.0 and later.
1918
To enable the trigger mechanism a _worker_ that will watch for _trigger documents_ has to be added to the
2019
Holodeck B2B instance. The worker class is `org.holodeckb2b.ebms3.pulling.trigger.filebased.WatchForTriggerFile`
2120
and it takes one parameter _watchPath_ that should point to the directory where the trigger documents are
22-
placed by the back-end. As the worker will look for any file with "xml" extension it is recommended to use
21+
placed by the back-end. As the worker will look for any file with an ".xml" extension it is recommended to use
2322
a specific directory for triggers only.
24-
Furthermore the regular worker _interval_ parameter can be used to set the interval at which the worker
23+
The regular worker _interval_ parameter can be used to set the interval at which the worker
2524
should check for new triggers.
2625

2726
If you will only be using "trigger based" pulling on this Holodeck B2B instance you should disable the
2827
standard "interval based" pull mechanism by removing or deactivating the _pullConfigWatcher_ worker.
2928

3029
## Usage
31-
Pull Request can only be triggered for existing P-Modes that define how the Pull Request must be
32-
processed.So before triggering a request the P-Mode must have been registered in Holodeck B2B, either
30+
A Pull Request can only be triggered for existing P-Modes that define how the Pull Request must be
31+
processed. Before triggering a request the P-Mode must have been registered in Holodeck B2B, either
3332
manually by an operator or automatically by the back-end.
3433

3534
To trigger a Pull Request the back-end application must create a _"Pull Request trigger document"_ in the
3635
directory specified in the _watchPath_ parameter of the watcher described above. These "trigger" documents
37-
are XML documents that MUST have the "xml" extension. They must contain at least the P-Mode that governs
36+
are XML documents that MUST have the ".xml" extension. They must contain at least the P-Mode that governs
3837
the processing of the Pull Request and can further configure the _MessageId_ of the Pull Request, the MPC
3938
[sub-channel] and selection criteria to use for pulling. Their structure is defined by XML schema
4039
[http://holodeck-b2b.org/schemas/2018/02/pullrequest/trigger](src/main/resources/pulltrigger.xsd).
@@ -43,9 +42,9 @@ ebMS V3 Part 2 Specification are supported.
4342

4443
When the watcher detects a trigger document it will check that the P-Mode exists and submit a Pull Request
4544
Signal message unit to the Holodeck B2B Core to trigger the pull process. After processing the file, i.e.
46-
after the Pull Request has been submitted, the extension will be changed to "triggered". When an error
47-
occurs on submit the extension will be changed to "rejected" and information on the error will be written
48-
to a file with the same name but with extension "err".
45+
after the Pull Request has been submitted, the extension will be changed to ".triggered". When an error
46+
occurs on submit the extension will be changed to ".rejected" and information on the error will be written
47+
to a file with the same name but with extension ".err".
4948

5049
## Contributing
5150
We are using the simplified Github workflow to accept modifications which means you should:
@@ -71,4 +70,4 @@ Version numbering follows the [Semantic versioning](http://semver.org/) approach
7170
This Holodeck B2B extension is licensed under the General Public License V3 (GPLv3) which is included in the LICENSE file in the root of the project.
7271

7372
## Support
74-
Commercial Holodeck B2B support is provided by Chasquis Consulting. Visit [Chasquis-Consulting.com](http://chasquis-consulting.com/holodeck-b2b-support/) for more information.
73+
Commercial Holodeck B2B support is provided by Chasquis. Visit [Chasquis-Consulting.com](http://chasquis-consulting.com/holodeck-b2b-support/) for more information.

0 commit comments

Comments
 (0)