Documentation
¶
Index ¶
Constants ¶
View Source
const ( Scheme = "mqtt" PropertiesPrefix = "camel.component." + Scheme AttributeMqttMessageID = "camel.apache.org/mqtt.message.id" AttributeMqttMessageRetained = "camel.apache.org/mqtt.message.retained" AttributeMqttMessageDuplicate = "camel.apache.org/mqtt.message.duplicate" AttributeMqttMessageQUOS = "camel.apache.org/mqtt.message.qus" DefaultClientKeepAlive = 30 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Component ¶
type Component struct {
components.DefaultComponent
}
type Config ¶
type Config struct {
Remaining string `mapstructure:"remaining"`
Broker string `mapstructure:"broker"`
ClientID string `mapstructure:"clientId"`
Retained bool `mapstructure:"retained"`
QoS byte `mapstructure:"qus"`
Username string `mapstructure:"username"`
Password string `mapstructure:"password"`
Keepalive *uint16 `mapstructure:"keepalive"`
}
type Consumer ¶
type Consumer struct {
components.DefaultConsumer
// contains filtered or unexported fields
}
type Endpoint ¶
type Endpoint struct {
components.DefaultEndpoint
// contains filtered or unexported fields
}
type Producer ¶
type Producer struct {
components.DefaultProducer
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.