Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

BaSyx / Documentation / Components / DataBridge / Features / Event

< BaSyx ‎ | Documentation ‎ | Components ‎ | DataBridge ‎ | Features
Revision as of 06:20, 31 January 2023 by Unnamed Poltroon (Talk) (Created page with "= Event = The Event trigger is used to generate message exchanges whenever an event occurs. This trigger is used when the data source produces data asynchronously for e.g. whe...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Event

The Event trigger is used to generate message exchanges whenever an event occurs. This trigger is used when the data source produces data asynchronously for e.g. when an MQTT message is published on a topic then the route would start processing.

Configuration

You can specify "trigger": "event" in routes.json [Link] configuration file.

Sample Route Configuration with Event

[
	{
		"routeId": "namedRoute",
		"datasource": "property1",
		"transformers": ["jsonataA"],
		"datasinks": ["ConnectedSubmodel/ConnectedPropertyA"],
		"trigger": "event"
	}
]

Please check Protocol Integration MQTT[Link].

Back to the top