Set Message Properties
The message property fields are similar to header fields described previously in the Set JMS Headers action, except these fields are set exclusively by the consumer application. When a client receives a message, the properties are in read-only mode. If a client tries to modify any of the properties, a MessageNotWriteableException is thrown.
The properties are standard Java name or value pairs. The property names must conform to the message selector syntax specifications defined in the Message interface.
Property fields are most often used for message selection and filtering. By using a property field, a message consumer can interrogate the property field and perform message filtering and selection.
When this action is configured for a proxy API, Mediator uses the message properties to authenticate client requests before submitting to the native APIs.
To use this action the following prerequisites must be met:
Create an alias to a JNDI Provider (in the
Integration Server Administrator, go to
Settings > Web Services).
To establish an active connection between
Integration Server and the JMS provider, you must configure
Integration Server to use a JMS connection alias (in the
Integration Server Administrator, go to
Settings > Messaging > JMS Settings).
Create a WS (Web Service) endpoint alias for provider Web Service Descriptor (WSD) that uses a JMS binder. In the
Integration Server Administrator, navigate to
Settings > Web Services and complete the Alias Name, Description, Descriptor Type, and Transport Type fields.
Configure a WS (Web Service) endpoint trigger (in the
Integration Server Administrator, go to
Settings > Messaging > JMS Trigger Management).
Create a WS (Web Service) endpoint alias for consumer Web Service Descriptor (WSD) that has a JMS binder. In the
Integration Server Administrator, navigate to
Settings > Web Services and complete the Alias Name, Description, Descriptor Type, and Transport Type fields.
For detailed information, see webMethods Integration Server Administrator’s Guide.
Input Parameters
Property | (String). The custom message properties Mediator uses to authenticate incoming requests for the native API. To add additional rows, use the plus button. |
Value | Description |
Name | (String). The name of the property. |
Value | (String). The value of the property. |