@StampyLibrary(libraryName="stampy-client-server") public interface StampyOutgoingMessageInterceptor
AbstractStampyMessageGateway| Modifier and Type | Method and Description |
|---|---|
StompMessageType[] |
getMessageTypes()
Gets the message types of which the implementation is interested.
|
void |
interceptMessage(StampyMessage<?> message)
Intercepts the outgoing message for capturing state etc, invoked by the.
|
void |
interceptMessage(StampyMessage<?> message,
HostPort hostPort)
Intercepts the outgoing message for capturing state etc, invoked by the.
|
boolean |
isForMessage(StampyMessage<?> message)
Returns true if the message should be processed by the implementation.
|
StompMessageType[] getMessageTypes()
boolean isForMessage(StampyMessage<?> message)
message - the messagevoid interceptMessage(StampyMessage<?> message) throws InterceptException
message - the messageInterceptException - if the outgoing message is to be aborted
AbstractStampyMessageGatewayAbstractStampyMessageGatewayvoid interceptMessage(StampyMessage<?> message, HostPort hostPort) throws InterceptException
message - the messagehostPort - the host portInterceptException - if the outgoing message is to be aborted
AbstractStampyMessageGatewayAbstractStampyMessageGateway