Package com.reignite.messaging.server

Examples of com.reignite.messaging.server.Endpoint


    AMFMessageBody responseBody = new AMFMessageBody();
    context.setResponseBody(responseBody);

    AMFMessageBody messageBody = context.getRequestBody();

    Endpoint endpoint = context.getEndpoint();

    RemotingMessage remotingMessage = (RemotingMessage) messageBody.getData();
    try {
      responseBody.setData(endpoint.routeMessageToService(remotingMessage));
    } catch (MessagingException e) {
      LogWriter.error(getClass(), "Failed to route message to service: " + e, e);
      ErrorMessage errorBody = new ErrorMessage("Service destination could not be reached",
          remotingMessage.getDestination(), remotingMessage.getOperation(), remotingMessage.getParameters());
      responseBody.setData(errorBody);
View Full Code Here

TOP

Related Classes of com.reignite.messaging.server.Endpoint

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.