}
public void send(String to, String from, String message) throws StrestException {
StrestConnectionTxn con = this.notifyMessage.get(to);
if (con == null) {
throw new StrestHttpException(501, "Unknown user");
}
DynMap mp = new DynMap();
mp.put("to", to);
mp.put("from", from);
mp.put("message", message);
con.sendMessage(new ResponseBuilder().txnStatusContinue().contentJSON(mp));
}