How can I send application control information that is not part of detail data such as record types?
If in addition to the payload data the application needs to pass control data outside of the message payload, JCommbridge provides this functionality using one or more calls to the session’s setUserElement() method. This method accepts two string arguments. The first is the unique name assigned to a given datum, and the second is its value. JCommBridge preserves this information when it transfers the data. The format of the user control data would be agreed upon between the two departments. More information on this topic is specified in section 3.0.1.4 (The CBService Class) of the JCommBridge Programmer’s Reference Guide.
If in addition to the payload data the application needs to pass control data outside of the message payload, JCommbridge provides this functionality using one or more calls to the session’s setUserElement() method. This method accepts two string arguments. The first is the unique name assigned to a given datum, and the second is its value. JCommBridge preserves this information when it transfers the data. The format of the user control data would be agreed upon between the two departments. More information on this topic is specified in section 3.0.1.4 (The CBService Class) of the JCommBridge Programmer’s Reference Guide.