@StampyLibrary(libraryName="stampy-examples") public class RemoteExecutor extends java.lang.Object
Remoteable object and if a receipt has been specified,
returns a RECEIPT message. An ERROR message is returned to the client should
anything unexpected occur.| Constructor and Description |
|---|
RemoteExecutor() |
| Modifier and Type | Method and Description |
|---|---|
AbstractStampyMessageGateway |
getGateway()
Gets the gateway.
|
boolean |
processStompMessage(SendMessage message,
HostPort hostPort)
Process stomp message.
|
void |
setGateway(AbstractStampyMessageGateway messageSender)
Sets the gateway.
|
public boolean processStompMessage(SendMessage message, HostPort hostPort) throws java.lang.Exception
message - the messagehostPort - the host portjava.lang.Exception - the exceptionpublic AbstractStampyMessageGateway getGateway()
public void setGateway(AbstractStampyMessageGateway messageSender)
messageSender - the new gateway