Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

MQTT Service Properties

These following may be provided as service properties when a remote service is registered. For example:

// (If not explicitly given here, the provider is free to choose a default configuration for the service)
props.put("service.exported.configs","ecf.jms.mqtt.manager");
props.put("ecf.jms.mqtt.manager.id","tcp://broker.mycorp.com:1883/myRemoteServicesTopic"); 
// Register a new TimeServiceImpl service with the above props
bundleContext.registerService(ITimeService.class, new TimeServiceImpl(), props);

ecf.jms.mqtt.manager config

Property Name Description Type Default Value
ecf.jms.mqtt.manager.id   URI context for a running and accessible MQTT Broker. The default is mqtt.eclipse.org port 1883 with topic name: exampleRemoteServicesTopic   String   tcp://mqtt.eclipse.org:1883/exampleRemoteServicesTopic

Back to the top