The scheduled message forwarding processor is a message processor that consumes messages in a message store and sends them to an endpoint . If a message is successfully delivered to the endpoint, the processor deletes the message from the message store. In case of a failure, it will retry after a specified interval.
Scheduled message forwarding processor parameters
Following are the parameters and the description for each of the parameters you need to specify when creating a scheduled message forwarding processor.
Parameter Name | Description | Required |
---|---|---|
Name | The name of the scheduled message forwarding processor. | Yes |
Endpoint name | The endpoint to which the scheduled message forwarding processor should forward messages. | Yes |
Message Store | The message store from which the scheduled message forwarding processor consumes messages. | Yes |
Processor state (is.active ) | Activate (true ) or Deactivate (false ) | Yes |
Forwarding interval (interval ) | Interval in milliseconds in which processor consumes messages. If both Cron Expression and Forwarding Interval are specified in the configuration, Cron Expression will precede the Forwarding Interval. | No (The default value is 1000) |
Retry interval ( | Message retry interval in milliseconds. | No (The default is value is 1000) |
Non retry http status codes (non.retry.status.codes) | The parameter based on which the message processor decides if it needs to retry. If the HTTP status code of the response is specified as a non retry http status code, it will not retry. | No |
Maximum redelivery attempts ( | Maximum redelivery attempts before deactivating the processor. This is used when the backend server is inactive and the ESB tries to resend the message. | No (The default value is |
Drop message after maximum delivery attempts (max.delivery.drop) | If this parameter is set to The Maximum Delivery Attempts parameter can be used when the backend is inactive and the message is resent. | No (The default value is Disabled) |
Axis2 Client repository ( | Axis2 Client repository path. This is the location where services and modules reside. | No |
Axis2 Configuration ( | Axis2 Configuration to be used to send messages. | No |
Reply sequence name ( | The name of the sequence where the message reply should be sent. | No |
Fault sequence name ( | The name of the sequence where the fault message should be sent to in case of a SOAP fault. | No |
Deactivate sequence name ( | The deactivate sequence that will be executed when the processor is deactivated automatically. Automatic deactivation occurs when the maximum delivery attempts is exceeded and the Drop message after maximum delivery attempts parameter is disabled. | No |
Quartz configuration file path ( | The Quartz configuration file path. This properties file contains the Quartz configuration | No |
Cron Expression ( | Interval in milliseconds in which processor consumes messages. If both Cron Expression and Forwarding Interval are specified in the configuration, Cron Expression will precede the Forwarding Interval. | No |
Task Count (Cluster Mode)
| The required number of worker nodes when you need to run the processor in more than 1 worker node. Specifying this will not guarantee that the processor will run on each worker node. There can be instances where the processor will not run in some workers nodes. | No (The default value is 1) |
In addition to specifying the required parameters, you can click Show Additional Parameters and set any of the additional parameters if necessary.
Message context properties to be used with the scheduled message forwarding processor
Property Name | Value | Required |
---|---|---|
| Name of the Address Endpoint where the message should be delivered. This property is deprecated and is no longer required, but for backward compatibility, it does not cause errors if it is included. | Yes |
OUT_ONLY | Set to | Required for out-only scenarios |
FORCE_ERROR_ON_SOAP_FAULT | Set to | NO |
Samples
For samples illustrating how to use the message forwarding processor, see: