Package com.reignite.messaging.amf

Examples of com.reignite.messaging.amf.ErrorMessage


    String operation = message.getOperation();
    Object[] params = message.getParameters();
    Service service = locateService(destination, operation, params);
    Object response = null;
    if (service == null) {
      response = new ErrorMessage("Service was null.", destination, operation, params);
      LogWriter.error(getClass(), response.toString());
    } else {
      try {
        response = service.invoke();
      } catch (Exception e) {
        response = new ErrorMessage("Service invocation failed: " + e.getMessage(), destination, operation,
            params);
        LogWriter.error(getClass(), response.toString(), e);
      }
    }
    RemoteResponseMessage ack = message.createResponse();
View Full Code Here

TOP

Related Classes of com.reignite.messaging.amf.ErrorMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.