code: @Override
      public void sendMsg(Message message) {
          try {
              message.setSender(this.getID());
              ShanksAgent receiver = this.simulation.getAgent(message
                      .getReceiver());
              receiver.putMessegaInInbox(message);
              logger.finer("Sent message from Agent: " + this.getID()
                      + " to Agent: " + message.getReceiver());
          } catch (UnkownAgentException e) {
              logger.severe("UnkownAgentException: " + e.getMessage());
              e.printStackTrace();
          } catch (ShanksException e) {
              e.printStackTrace();
          }
      }
docs: /*
  (non-Javadoc)
  
  @see
  es.upm.dit.gsi.shanks.agent.ShanksAgent#sendMsg(jason.asSemantics.Message
  )