16.10 - Create the Resilient Sender - Teradata Ecosystem Manager

Teradata Ecosystem Manager API Reference

prodname
Teradata Ecosystem Manager
vrm_release
16.10
created_date
June 2017
category
Programming Reference
featnum
B035-3204-067K
// 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.