org.mule.umo
Class FutureMessageResult
java.lang.Object
FutureResult
org.mule.umo.FutureMessageResult
- public class FutureMessageResult
- extends FutureResult
FutureMessageResult
is an UMOMessage result of a remote invocation on a Mule Server.
this object makes the result available to the client code once the request has been processed. This execution
happens asynchronously.
- Version:
- $Revision: 1.1.1.1 $
- Author:
- Ross Mason
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FutureMessageResult
public FutureMessageResult()
FutureMessageResult
public FutureMessageResult(UMOTransformer transformer)
getMessage
public UMOMessage getMessage()
throws java.lang.reflect.InvocationTargetException,
java.lang.InterruptedException,
TransformerException
- Throws:
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException
TransformerException
getMessage
public UMOMessage getMessage(long timeout)
throws java.lang.reflect.InvocationTargetException,
java.lang.InterruptedException,
TransformerException
- Throws:
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException
TransformerException
execute
public void execute(Callable callable)
- A convenience method for executing a task. This is not as efficient
as loading a thread from a pool so should not be used frequently
- Parameters:
callable
- the Action to execute
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.