Package org.springframework.remoting.support

Examples of org.springframework.remoting.support.RemoteInvocationResult



  public void onMessage(Message requestMessage, Session session) throws JMSException {
    RemoteInvocation invocation = readRemoteInvocation(requestMessage);
    if (invocation != null) {
      RemoteInvocationResult result = invokeAndCreateResult(invocation, this.proxy);
      writeRemoteInvocationResult(requestMessage, session, result);
    }
  }
View Full Code Here


      send(new RuntimeException("The message does not contain a RemoteInvocation payload"), replyToAddress);
      return;
    }
    RemoteInvocation invocation = (RemoteInvocation) invocationRaw;

    RemoteInvocationResult remoteInvocationResult = invokeAndCreateResult(invocation, getService());
    send(remoteInvocationResult, replyToAddress);
  }
View Full Code Here

      throw new RemoteProxyFailureException("Expected a result of type "
          + RemoteInvocationResult.class.getCanonicalName() + " but found "
          + rawResult.getClass().getCanonicalName(), null);
    }

    RemoteInvocationResult result = (RemoteInvocationResult) rawResult;
    return result.recreate();
  }
View Full Code Here

TOP

Related Classes of org.springframework.remoting.support.RemoteInvocationResult

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.