wso2 / mi-vscode

Micro Integrator extension for Visual Studio Code
Apache License 2.0
2 stars 3 forks source link

The Deactivate sequence field in the `Scheduled Message Forwarding Processor` should be marked as a required field. #339

Closed chathuranga-jayanath-99 closed 1 month ago

chathuranga-jayanath-99 commented 1 month ago

Description: In the creation of the Schedules Message Forwarding Processor, the field to provide a Deactivate sequence is not required. But creating a message processor with empty value for this field and starting the server will immediately deactivate the message processor. The following log can be identified.

[2024-08-13 12:56:01,306]  INFO {ScheduledMessageProcessor} - Started message processor. [ScheduledProcessor].
[2024-08-13 12:56:01,307]  INFO {AbstractQuartzTaskManager} - Task paused: [ESB_TASK][MSMP_ScheduledProcessor_0]
[2024-08-13 12:56:01,310]  INFO {ScheduledMessageProcessor} - Successfully deactivated the message processor [ScheduledProcessor]

Once a Deactivate Sequence is provided, it will work fine.

Steps to reproduce:

Affected Versions: v1.0.4

OS, DB, other environment details and versions:

Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

thuva9872 commented 1 month ago

The Deactivate Sequence field is not a mandatory one. The message processor is getting deployed correctly without any issues.

thuva9872 commented 1 month ago

Closing this as it is not a bug. Please reopen if you have any concerns.