-
Notifications
You must be signed in to change notification settings - Fork 0
/
adapter.xml
80 lines (80 loc) · 3.21 KB
/
adapter.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<adapter>
<unique-id>hello-world</unique-id>
<start-up-event-imp>com.adaptris.core.event.StandardAdapterStartUpEvent</start-up-event-imp>
<heartbeat-event-imp>com.adaptris.core.HeartbeatEvent</heartbeat-event-imp>
<shared-components>
<connections/>
<services/>
</shared-components>
<event-handler class="default-event-handler">
<unique-id>default-event-handle</unique-id>
<connection class="null-connection">
<unique-id>null-connection</unique-id>
</connection>
<producer class="null-message-producer">
<unique-id>null-message-producer</unique-id>
</producer>
</event-handler>
<message-error-handler class="null-processing-exception-handler">
<unique-id>null-processing-exception-handler</unique-id>
</message-error-handler>
<failed-message-retrier class="no-retries">
<unique-id>no-retries</unique-id>
</failed-message-retrier>
<channel-list>
<channel>
<consume-connection class="jetty-http-connection">
<unique-id>jetty-connection</unique-id>
<port>${jetty.http.port}</port>
<server-connector-properties/>
<http-configuration/>
</consume-connection>
<produce-connection class="null-connection">
<unique-id>null-connection</unique-id>
</produce-connection>
<workflow-list>
<standard-workflow>
<consumer class="jetty-message-consumer">
<unique-id>jetty-message-consumer</unique-id>
<path>/*</path>
<parameter-handler class="jetty-http-parameters-as-metadata"/>
<header-handler class="jetty-http-headers-as-metadata"/>
</consumer>
<service-collection class="service-list">
<unique-id>service-list</unique-id>
<services>
<log-message-service>
<unique-id>log-message</unique-id>
<log-level>DEBUG</log-level>
<logging-format class="message-logging-with-payload"/>
</log-message-service>
<payload-from-template>
<unique-id>set-payload</unique-id>
<metadata-tokens/>
<template>Hello World!</template>
</payload-from-template>
</services>
</service-collection>
<producer class="jetty-standard-response-producer">
<unique-id>send-http-response</unique-id>
<status-provider class="http-configured-status">
<status>OK_200</status>
</status-provider>
<response-header-provider class="jetty-no-response-headers"/>
<content-type-provider class="http-configured-content-type-provider">
<mime-type>text/plain</mime-type>
</content-type-provider>
<send-payload>true</send-payload>
</producer>
<produce-exception-handler class="null-produce-exception-handler"/>
<unique-id>workflow</unique-id>
</standard-workflow>
</workflow-list>
<unique-id>channel</unique-id>
</channel>
</channel-list>
<message-error-digester class="standard-message-error-digester">
<unique-id>standard-message-error-digester</unique-id>
<digest-max-size>100</digest-max-size>
</message-error-digester>
</adapter>