pfx-info:(debug|info|warn|error)
Used to send custom messages to PlatformManager. There is no contract about the types of messages to be sent. Use a method that best describes the intended urgency level. Conventions from logging are used.
Properties
Option | Type | Default | Description |
---|---|---|---|
| string |
| Message to be sent to PlatformManager. Mandatory. |
| string |
| Type of message. |
Example
We would like to send the message "Check the instance" to PlatformManager.
Steps:
Make sure the event-driven mode is enabled:
application.properties
... integration.event-driven.enabled=true ...
Insert the component into a route:
<to uri="pfx-info:warn?message="Check the instance"/>
This will send the message to the Kafka topic to which PlatformManager is listening. The event type of the message is
INTEGRATION_MANAGER_MESSAGE
, severity iswarn
, message type is not set and the message isCheck the instance
.
IntegrationManager version 6.0.0