// RemoteDestinationFactory.
String remotedestinationfactory = request.getExtraOptions().get( "remoteDestinationFactory" );
if ( remotedestinationfactory == null )
{
remoteDestinationFactoryImpl = new DefaultRemoteDestinationFactory();
}
else
{
request.getLogger().info(
"Instantiating custom RemoteDestinationFactory class: [" + remotedestinationfactory