public class MessageInterceptionContext extends Object implements InterceptionContext
Constructor and Description |
---|
MessageInterceptionContext(String transport,
String proxy,
String sequence,
String endpoint,
FlowType flowType,
FlowPoint flowPoint)
Constructs a message interception context with the following parameters
|
Modifier and Type | Method and Description |
---|---|
String |
getEndpoint()
Gets the endpoint that is currently processing the message being intercepted
|
FlowPoint |
getFlowPoint()
Gets the interception flow point of the message
|
FlowType |
getFlowType()
Gets the flow type of the message, whether it is an incoming message or an outgoing message
|
String |
getProxy()
Gets the proxy service to which the message is received
|
String |
getSequence()
Gets the sequence that is currently mediating the message being intercepted
|
String |
getTransport()
Gets the transport over which the message is received
|
boolean |
matches(InterceptionContext context)
Checks whether this context matches the given context criteria.
|
String |
toString() |
public MessageInterceptionContext(String transport, String proxy, String sequence, String endpoint, FlowType flowType, FlowPoint flowPoint)
transport
- the transport over which the message is receivedproxy
- the proxy service to which the message is receivedsequence
- the sequence currently mediating the messageendpoint
- the endpoint currently processing the messageflowType
- the flow type, whether it is incoming or outgoingflowPoint
- the flow point of the message interceptionpublic boolean matches(InterceptionContext context)
String.matches(String)
where the object on which the operation is called is considered the concrete
object while the argument passed in is considered the criteria to be matchedmatches
in interface InterceptionContext
context
- the context criteria to be matchedpublic String getTransport()
public String getProxy()
public String getSequence()
public String getEndpoint()
public FlowType getFlowType()
public FlowPoint getFlowPoint()
Copyright © 2010–2016 AdroitLogic. All rights reserved.