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

Option

Type

Default

Description

message

string

 

Message to be sent to PlatformManager. Mandatory.

type

string

 

Type of message.

Example

We would like to send the message "Check the instance" to PlatformManager.

Steps:

  1. Make sure the event-driven mode is enabled:

    application.properties

    ... integration.event-driven.enabled=true ...

     

  2. Insert the component into a route:

    <to uri="pfx-info:warn?message="Check the instance"/>

     

  3. 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