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 isÂwarn
, message type is not set and the message isÂCheck the instance
.
IntegrationManager version 5.8.0