<?php

namespace FiloBlu\Esb\Api\Data;

use FiloBlu\Esb\Api\Data\QueueItemInterface;

/**
 * Interface QueueStateHandlerInterface
 * @package FiloBlu\Esb\Api\Data
 */
interface QueueStateHandlerInterface
{

    /**
     * @param \FiloBlu\Esb\Api\Data\QueueItemInterface $queueItem
     * @return mixed
     */
    public function onFailure(QueueItemInterface $queueItem);

}
