if (consumer.getMigrationService().remove(export).equals(export))
{
// release the export on the producer
try
{
consumer.releaseExport(export);
}
catch (PortletInvokerException e)
{
// re-add export to migration service
consumer.getMigrationService().add(export);