-
Notifications
You must be signed in to change notification settings - Fork 21
/
protocol.xml
58 lines (53 loc) · 2.04 KB
/
protocol.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0" encoding="UTF-8"?>
<protocol>
<lists>
<PublishMessageHook>
<plugin name="prepend-id-plugin"/>
<plugin name="base64-plugin"/>
<plugin name="example-plugin">
<color>blue</color>
</plugin>
</PublishMessageHook>
<MessageIncomingHook>
<plugin name="base64-plugin"/>
<plugin name="prepend-id-plugin"/>
</MessageIncomingHook>
<MainToolbarHook>
<plugin name="SysTopicPlugin"/>
</MainToolbarHook>
</lists>
<tasks>
<DetailViewManipulatorHook>
<task id="Decode Base64">
<plugin name="base64-plugin" extensionId="decode"/>
</task>
<task id="Double Decode Base64">
<plugin name="base64-plugin" extensionId="decode"/>
<plugin name="base64-plugin" extensionId="decode"/>
</task>
<task id="Decode + unzip + save">
<plugin name="base64-plugin" extensionId="decode"/>
<plugin name="zip-manipulator-plugin" extensionId="unzip"/>
<plugin name="save-manipulator-plugin" extensionId="save"/>
</task>
</DetailViewManipulatorHook>
<MessageValidatorHook>
<task id="/com/+/example">
<plugin name="xml-xsd-validator-plugin">
<schema>example.xsd</schema>
</plugin>
</task>
<task id="/test">
<plugin name="contains-string-validator-plugin" extensionId="ignoreCase">
<string>test</string>
</plugin>
<plugin name="contains-string-validator-plugin" extensionId="ignoreCase">
<string>another</string>
</plugin>
<plugin name="contains-string-validator-plugin" extensionId="caseSensitive">
<string>okay</string>
</plugin>
</task>
</MessageValidatorHook>
</tasks>
</protocol>