wiring the portions for replacing LREM on
receipt of a message from a queue