Adapted simulator for message filtering.
Adapted simulator for message filtering