diff --git a/ssm/ssm2.py b/ssm/ssm2.py index 5e72115c..545f159b 100644 --- a/ssm/ssm2.py +++ b/ssm/ssm2.py @@ -127,7 +127,7 @@ def __init__(self, hosts_and_ports, qpath, cert, key, dest=None, listen=None, "module wasn't found.") self._outq = QueueSimple(outqpath) - self._rejectq = MessageDirectory(rejectqpath) + self._rejectq = QueueSimple(rejectqpath) elif path_type == 'directory': self._outq = MessageDirectory(outqpath)