16.20 - Create the Resilient Sender - Teradata Ecosystem Manager

Teradata® Ecosystem Manager API Reference

Product
Teradata Ecosystem Manager
Release Number
16.20
Published
December 2020
Language
English (United States)
Last Update
2020-12-23
dita:mapPath
loa1512743917841.ditamap
dita:ditavalPath
ft:empty
// 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.