TIBRVMSG_XML, TIBRVMSG_IPADDR32, and TIBRVMSG_IPPORT16 Datatypes
If you want to use the TIBRVMSG_XML, TIBRVMSG_IPADDR32, or TIBRVMSG_IPPORT16 datatypes, you must first add the RawRVMsg2.xsd
file into your project. For more information about adding this schema to your project, see RawRVMsg2 Schema.
Once the RawRVMsg2 schema is in your project, you can reference the ipPort and ipAddr datatypes contained in that schema. These types correctly convert data of type TIBRVMSG_XML, TIBRVMSG_IPADDR32, or TIBRVMSG_IPPORT16 when sending or receiving TIBCO Rendezvous messages.
For example, you want to send a message with two fields, ipAddress, ipPort, and tibrvXml. Using the ipPort and ipAddr datatypes illustrates an Input Editor tab that defines the message structure.
Figure 99: Using the ipPort and ipAddr datatypes
In the content field, Element of Type is chosen. In the Type field, XML Type Reference is chosen to indicate you want to reference a datatype defined in a schema resource. Use the Browse button in the Schema field to locate the RawRVMsg2 schema and select the appropriate type for the field. Selecting a type from the RawRVMsg2 schema illustrates selecting the correct type from the RawRvMsg2 schema.
Figure 100: Selecting a type from the RawRVMsg2 schema