How It Works / What It Does

Connections are not created directly, but are built using a connection factory. Factory objects are stored in a JNDI namespace, insulating the JMS application from provider-specific information.

The fields in the parameter struct are scanned using Java reflection, and each is converted into a fixed length string based on its datatype. The strings are concatenated together into a JMS BytesMessage which is then placed on a JMS queue.

If a return type has been specified for the operation, the Cúram application will wait for a response message, typically on another queue. The remote system must create a correctly formatted response message and send it to the Cúram application within the specified timeout period. When the message is received, it is converted into an instance of the return type struct which is then returned to the caller.