Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 10

...

Parameter Name

Description

Required

Possible Values

mqtt.server.host.nameThe name of the host.

Yes

A valid host name

mqtt.server.portThe port ID.Yes1883,1885
mqtt.client.idThe client ID.YesA valid client ID
mqtt.topic.nameThe name of the topicYesA valid topic name
mqtt.subscription.qosThe QoS value.No

0,1,2

mqtt.session.cleanWhether session clean should be enabled or not.Notrue, false
mqtt.ssl.enableWhether ssl should be enabled or not.Notrue , false
mqtt.subscription.usernameThe username for the subscription.NoA valid user name
mqtt.subscription.passwordThe password for the subscription.NoA valid password
mqtt.temporary.store.directoryThe path of the directory to be used as the persistent data store for quality of service purposes.NoA valid local path. The default value is the ESB temp path.
mqtt.blocking.senderWhether blocking sender should be enabled or not.Notrue , false
mqtt.content.typeThe content type.NoA valid content type. the default content type is text/plain.
mqtt.message.retainedWhether the message should be retained or not. This parameter can be used only in the transport sender.No

true, false
The default value is false.

For a sample that demonstrates how Axis2 publishes a message on a particular topic, and how an MQTT client subscribed to that topic receives it, seeĀ  Sample 272:Publishing and Subscribing using WSO2 ESB's MQ Telemetry Transport.