@StampyLibrary(libraryName="stampy-client-server") public abstract class AbstractOutgoingMessageInterceptor<SVR extends AbstractStampyMessageGateway> extends java.lang.Object implements StampyOutgoingMessageInterceptor
| Constructor and Description |
|---|
AbstractOutgoingMessageInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
SVR |
getGateway()
Gets the gateway.
|
void |
interceptMessage(StampyMessage<?> message)
Intercepts the outgoing message for capturing state etc, invoked by the.
|
void |
setGateway(SVR gateway)
Sets the gateway.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMessageTypes, interceptMessage, isForMessagepublic void interceptMessage(StampyMessage<?> message) throws InterceptException
StampyOutgoingMessageInterceptorinterceptMessage in interface StampyOutgoingMessageInterceptormessage - the messageInterceptException - if the outgoing message is to be aborted
AbstractStampyMessageGatewayAbstractStampyMessageGatewaypublic SVR getGateway()
public void setGateway(SVR gateway)
gateway - the new gateway