public void query(long id, String to, String from, Serializable payload)
{
Mailbox mailbox = getMailbox(to);
if (mailbox != null) {
mailbox.query(id, to, from, payload);
return;
}
// on startup, queue the messages until the startup completes
if (isBeforeActive()