Restored configuration check.

The configuration is checked each time a message is about to be entered
into the queue. This check was erroneously commented out int the
previous version.