// initialize the resilient sender by reading the configuration file rsender.initialize("apiconfig.xml");