JMS UDRs
Both the JMS collection agent and JMS request agent send and receive JMSCycle
types.Â
For further information, see the image below. The UDR Browser shows the JMSCycle
UDR type.Â
The Request and Response fields are of the type any
. During runtime these fields are converted to a JMS message according to the following rule:
APL Type | JMS Message Type |
---|---|
String | TextMessage |
byte[] | BytesMessage |
Note!
If a value's type is not supported, a system log message is generated and the UDR is ignored.
You can view the JMSCycle
UDR from the UDR Internal Format Browser.
To access the UDR Internal Format Browser:
Open an APL agent configuration.
Right-click on the code editor and select UDR Assistance...
UDR Internal Format Browser - JMSCycle UDRÂ
Field | Description |
---|---|
| This field contains information about the context in which the operation is being invoked when needed. |
| This field is set as Note!This field only applies in a workflow that includes a JMS Request agent. |
| This field is used by the workflow to determine whether an answer can be routed back or not. Note!This field only applies in a workflow that includes a JMS Collector agent. |
| This field contains the request. For valid Request types see the table above. |
| Request message properties. For further information see JMS Message Properties below. |
| This field contains the response. For valid Response types see the table above. |
| Response message properties. For further information, see the section below, JMS Message Properties. |
| The value informs you about the message status:
|
| This field contains the original data in bytearray format. |
JMS Message Properties
The JMS Message properties can be accessed in the UDR using the RequestProperties
 and the ResponseProperties
 fields. When the message is received, these fields are mapped to those of the output message, before the message is sent to the JMS server. The value types are checked by the agent when sent. If an invalid value type is found, an error is generated. The supported property values are: boolean, byte, short, int, long, float, double, or string.