Normalized message properties are either specific to the binding component being used or generally available to all participating JBI components. The following topics describe both types of normalized message properties.
The following table lists and described the general properties that are available to all JBI components. All property values are of the type java.lang.String.
Table 10 General Normalized Message Properties
Property Name in Source |
Property Name in Mapper |
Description and Use |
---|---|---|
org.glassfish.openesb.messaging.groupid |
Group ID |
Uniquely identifies a message with the group to which a message belongs. This property is optional. |
org.glassfish.openesb.messaging.messageid |
Message ID |
Uniquely identifies a message. For batch processing this might be a record number (for example, a particular record in a file) or a GUID. This property is mandatory. |
org.glassfish.openesb.messaging.lastrecord |
Last Record |
The value is a string representation of boolean ("true" or "false"). This property can be used to signal the last record in a group or the last record in a file. This property is mandatory. |
org.glassfish.openesb.exchange.endpointname |
Endpoint Name |
The value a string representation of the endpoint name set on the exchange. This represents the endpoint name of the "owner" of the message, and could be made available by JBI runtime. |
The following properties are specific to the REST Binding Component. Available properties are different for request messages than for response messages. All property values are of the type java.lang.String.
Table 11 REST Binding Component NM Properties (Request)Table 12 REST Binding Component NM Properties (Response)
Property Name in Source |
Property Name in Mapper |
Description |
---|---|---|
org.glassfish.openesb.rest.response.status |
HTTP Response Status |
The status code for the response. |
org.glassfish.openesb.rest.response.url |
HTTP Response Location |
The location header for the response. |
org.glassfish.openesb.rest.response.content-type |
HTTP Response Content-Type |
The content type header for the response. |
org.glassfish.openesb.rest.response.headers |
HTTP Response Headers |
Other headers for the response. Enter the headers in curly brackets as name value pairs with the name and value each in double-quotes and separated by a space, a colon, and another space. Separate multiple name value pairs by a comma. For example: { "host" : "MyServer.com", "Content-Subtype" : "application/json/customers"} |
org.glassfish.openesb.rest.response.headers.* |
Not Applicable |
Arbitrary custom HTTP headers for the response. For example, to add the content type as a custom header parameter, you would enter a property similar to org.glassfish.openesb.rest.headers.content-type. These properties can only be defined using the BPEL Designer's Source view. |