// create a resilient sender specifying the message type name ResilientSender rsender = new ResilientSender("TMSM"); // set the namespace and schema files for the message and payload rsender.setMessageSchema(messageSchema); rsender.setPayloadSchema(tmsmSchema);
It is strongly recommended that local variables (for example, rsender) internal to methods (as opposed to instance variables) are created for all multi-threaded calls to ResilientSender.