-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathconnector.go
45 lines (43 loc) · 1.01 KB
/
connector.go
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
package activemq
import "github.com/kubemq-hub/builder/connector/common"
func Connector() *common.Connector {
return common.NewConnector().
SetKind("messaging.activemq").
SetDescription("ActiveMQ source properties").
SetName("ActiveMQ").
SetProvider("").
SetCategory("Messaging").
SetTags("queue", "streaming").
AddProperty(
common.NewProperty().
SetKind("string").
SetName("host").
SetTitle("Host Address").
SetDescription("Set ActiveMQ Host connection").
SetMust(true),
).
AddProperty(
common.NewProperty().
SetKind("string").
SetName("destination").
SetDescription("Set Destination").
SetMust(true).
SetDefault(""),
).
AddProperty(
common.NewProperty().
SetKind("string").
SetName("username").
SetDescription("Set Username").
SetMust(false).
SetDefault(""),
).
AddProperty(
common.NewProperty().
SetKind("string").
SetName("password").
SetDescription("Set Password").
SetMust(false).
SetDefault(""),
)
}