/**
* {@inheritDoc}
*/
public void onSaveItems(ItemStateChangesLog isChangesLog)
{
TransactionChangesLog changesLog = (TransactionChangesLog)isChangesLog;
if (changesLog.getSystemId() == null && !isSessionNull(changesLog))
{
changesLog.setSystemId(systemId);
// broadcast messages
try
{
// dump log
if (log.isDebugEnabled())
{
ChangesLogIterator logIterator = changesLog.getLogIterator();
while (logIterator.hasNextLog())
{
PlainChangesLog pcl = logIterator.nextLog();
log.info(pcl.dump());
}
}
String identifier = this.sendAsBinaryFile(changesLog);
if (log.isDebugEnabled())
{
log.info("After send message: the owner systemId --> " + changesLog.getSystemId());
log.info("After send message: --> " + systemId);
}
}
catch (Exception e)
{