Uses of Interface
org.apache.synapse.MessageContext

Packages that use MessageContext
org.apache.synapse   
org.apache.synapse.aspects   
org.apache.synapse.aspects.statistics   
org.apache.synapse.config.xml Factories and serializers for XML based configuration. 
org.apache.synapse.core   
org.apache.synapse.core.axis2   
org.apache.synapse.endpoints   
org.apache.synapse.endpoints.algorithms   
org.apache.synapse.endpoints.dispatch   
org.apache.synapse.eventing   
org.apache.synapse.eventing.filters   
org.apache.synapse.experimental   
org.apache.synapse.experimental.mediators.seda   
org.apache.synapse.handler.util   
org.apache.synapse.mediators   
org.apache.synapse.mediators.base   
org.apache.synapse.mediators.bsf   
org.apache.synapse.mediators.builtin   
org.apache.synapse.mediators.db   
org.apache.synapse.mediators.eip   
org.apache.synapse.mediators.eip.aggregator   
org.apache.synapse.mediators.eip.sample   
org.apache.synapse.mediators.eip.splitter   
org.apache.synapse.mediators.elementary   
org.apache.synapse.mediators.eventing   
org.apache.synapse.mediators.ext   
org.apache.synapse.mediators.filters   
org.apache.synapse.mediators.filters.router   
org.apache.synapse.mediators.spring   
org.apache.synapse.mediators.store   
org.apache.synapse.mediators.template   
org.apache.synapse.mediators.throttle   
org.apache.synapse.mediators.transaction   
org.apache.synapse.mediators.transform   
org.apache.synapse.mediators.transform.url   
org.apache.synapse.mediators.xquery   
org.apache.synapse.message.processors.forward   
org.apache.synapse.message.store   
org.apache.synapse.rest   
org.apache.synapse.rest.dispatch   
org.apache.synapse.util   
org.apache.synapse.util.xpath Support for XPath expressions with Synapse specific extensions. 
org.apache.synapse.util.xpath.ext   
samples.mediators   
samples.mediators.extensions   
 

Uses of MessageContext in org.apache.synapse
 

Methods in org.apache.synapse with parameters of type MessageContext
 void FaultHandler.handleFault(MessageContext synCtx)
           
 void FaultHandler.handleFault(MessageContext synCtx, Exception e)
          Extract and set ERROR_MESSAGE and ERROR_DETAIL to the message context from the Exception
 boolean Mediator.mediate(MessageContext synCtx)
          Invokes the mediator passing the current message for mediation.
abstract  void FaultHandler.onFault(MessageContext synCtx)
          This will be executed to handle any Exceptions occurred within the Synapse environment.
 

Uses of MessageContext in org.apache.synapse.aspects
 

Methods in org.apache.synapse.aspects with parameters of type MessageContext
static AspectConfiguration AspectConfigurationDetectionStrategy.getAspectConfiguration(MessageContext synCtx)
          Factory method to create the AspectConfiguration when there is no a defined main sequence and only there is a set of mediators.
 

Uses of MessageContext in org.apache.synapse.aspects.statistics
 

Methods in org.apache.synapse.aspects.statistics with parameters of type MessageContext
static ErrorLog ErrorLogFactory.createErrorLog(MessageContext synCtx)
          Create an ErrorLog from the information in the synapse MessageContext By default only the error code is logged and if the 'synapse.detailederrorlogging.enable' has been set, then the error message, details and exception are also logged
static void StatisticsReporter.endReportForAllOnRequestProcessed(MessageContext synCtx)
          Ends statistics reporting for any component after the request processed.
static StatisticsRecord StatisticsRecordFactory.getStatisticsRecord(MessageContext synCtx)
          Factory method to create StatisticsRecord instances
static void StatisticsReporter.reportFaultForAll(MessageContext synCtx, ErrorLog errorLog)
          Reporting a fault for any component when a response for a request is received.
static void StatisticsReporter.reportForAllOnOutFlowEnd(MessageContext synCtx)
          Reports statistics on the end of the out flow
static void StatisticsReporter.reportForAllOnResponseReceived(MessageContext synCtx)
          Collects statistics for any component when a response for a request is received.
static void StatisticsReporter.reportForAllOnResponseSent(MessageContext synCtx)
          Reports statistics for any component on the response message is sent Any component means that this statistics log (check point) is valid for sequence, endpoint, and proxy.
static void StatisticsReporter.reportForComponent(MessageContext synCtx, StatisticsConfigurable configurable, ComponentType componentType)
          Collects statistics for the given component.This is the starting point of collecting stats for a particular component
 

Uses of MessageContext in org.apache.synapse.config.xml
 

Methods in org.apache.synapse.config.xml with parameters of type MessageContext
 boolean AnonymousListMediator.mediate(MessageContext synCtx)
           
 boolean SwitchCase.mediate(MessageContext synCtx)
          To delegate message mediation to list mediator
 

Uses of MessageContext in org.apache.synapse.core
 

Methods in org.apache.synapse.core that return MessageContext
 MessageContext SynapseEnvironment.createMessageContext()
          Creates a new Synapse MessageContext instance.
 

Methods in org.apache.synapse.core with parameters of type MessageContext
 void SynapseEnvironment.injectAsync(MessageContext smc, SequenceMediator seq)
          This method injects a new message into the Synapse engine for the mediation by the specified sequence.
 boolean SynapseEnvironment.injectMessage(MessageContext smc)
          This method injects a new message into the Synapse engine.
 void SynapseEnvironment.send(EndpointDefinition endpoint, MessageContext smc)
          This method allows a message to be sent through the underlying SOAP engine.
 

Uses of MessageContext in org.apache.synapse.core.axis2
 

Classes in org.apache.synapse.core.axis2 that implement MessageContext
 class Axis2MessageContext
          This is the MessageContext implementation that synapse uses almost all the time because Synapse is implemented on top of the Axis2
 

Methods in org.apache.synapse.core.axis2 that return MessageContext
 MessageContext Axis2SynapseEnvironment.createMessageContext()
          This method will be used to create a new MessageContext in the Axis2 environment for Synapse.
static MessageContext MessageContextCreatorForAxis2.getSynapseMessageContext(MessageContext axisMsgCtx)
           
 MessageContext AsyncCallback.getSynapseOutMsgCtx()
           
 

Methods in org.apache.synapse.core.axis2 with parameters of type MessageContext
 void Axis2SynapseEnvironment.injectAsync(MessageContext synCtx, SequenceMediator seq)
           
 boolean Axis2SynapseEnvironment.injectMessage(MessageContext synCtx)
           
static void Axis2FlexibleMEPClient.send(EndpointDefinition endpoint, MessageContext synapseOutMessageContext)
          Based on the Axis2 client code.
 void Axis2SynapseEnvironment.send(EndpointDefinition endpoint, MessageContext synCtx)
          This will be used for sending the message provided, to the endpoint specified by the EndpointDefinition using the axis2 environment.
static void Axis2Sender.sendBack(MessageContext smc)
          Send a response back to a client of Synapse
static void Axis2Sender.sendOn(EndpointDefinition endpoint, MessageContext synapseInMessageContext)
          Send a message out from the Synapse engine to an external service
 

Constructors in org.apache.synapse.core.axis2 with parameters of type MessageContext
AsyncCallback(MessageContext synapseOutMsgCtx)
           
 

Uses of MessageContext in org.apache.synapse.endpoints
 

Methods in org.apache.synapse.endpoints with parameters of type MessageContext
protected  void AbstractEndpoint.evaluateProperties(MessageContext synCtx)
          Evaluates the endpoint properties based on the current message context and set the properties to the message context appropriately
protected  String DynamicLoadbalanceEndpoint.extractSessionID(MessageContext synCtx, String key)
           
 String EndpointDefinition.getAddress(MessageContext messageContext)
          This should return the absolute EPR address referenced by the named endpoint.
protected  Endpoint LoadbalanceEndpoint.getNextChild(MessageContext synCtx)
           
protected  void AbstractEndpoint.informFailure(MessageContext synCtx, int errorCode, String errorMsg)
           
protected  boolean AbstractEndpoint.isRetryDisabled(MessageContext synCtx)
           
protected  boolean AbstractEndpoint.isSuspendFault(MessageContext synCtx)
          Is this a fault that should put the endpoint on SUSPEND? or is this a fault to ignore?
protected  boolean AbstractEndpoint.isTimeout(MessageContext synCtx)
          Is this [fault] message a timeout?
protected  boolean AbstractEndpoint.isTraceOn(MessageContext msgCtx)
          Should this mediator perform tracing? True if its explicitly asked to trace, or its parent has been asked to trace and it does not reject it
protected  void AbstractEndpoint.logOnChildEndpointFail(Endpoint endpoint, MessageContext synMessageContext)
           
 void AbstractEndpoint.onChildEndpointFail(Endpoint endpoint, MessageContext synMessageContext)
           
 void Endpoint.onChildEndpointFail(Endpoint endpoint, MessageContext synMessageContext)
          Endpoints that contain other endpoints should implement this method.
 void FailoverEndpoint.onChildEndpointFail(Endpoint endpoint, MessageContext synMessageContext)
           
 void LoadbalanceEndpoint.onChildEndpointFail(Endpoint endpoint, MessageContext synMessageContext)
           
 void RecipientListEndpoint.onChildEndpointFail(Endpoint endpoint, MessageContext synMessageContext)
           
 void SALoadbalanceEndpoint.onChildEndpointFail(Endpoint endpoint, MessageContext synCtx)
          It is logically incorrect to failover a session affinity endpoint after the session has started.
 void AbstractEndpoint.onFault(MessageContext synCtx)
          On a fault, propagate to parent if any, or call into the fault handler
 void AddressEndpoint.onFault(MessageContext synCtx)
           
 void DefaultEndpoint.onFault(MessageContext synCtx)
           
 void WSDLEndpoint.onFault(MessageContext synCtx)
           
protected  void AbstractEndpoint.prepareForEndpointStatistics(MessageContext synCtx)
          Process statistics for this message
 void AbstractEndpoint.send(MessageContext synCtx)
           
 void AddressEndpoint.send(MessageContext synCtx)
           
 void DefaultEndpoint.send(MessageContext synCtx)
           
 void DynamicLoadbalanceEndpoint.send(MessageContext synCtx)
           
 void Endpoint.send(MessageContext synMessageContext)
          Sends the message context according to an endpoint specific behavior.
 void FailoverEndpoint.send(MessageContext synCtx)
           
 void IndirectEndpoint.send(MessageContext synCtx)
          Send by calling to the real endpoint
 void LoadbalanceEndpoint.send(MessageContext synCtx)
           
 void RecipientListEndpoint.send(MessageContext synCtx)
           
 void ResolvingEndpoint.send(MessageContext synCtx)
          Send by calling to the real endpoint
 void SALoadbalanceEndpoint.send(MessageContext synCtx)
           
 void TemplateEndpoint.send(MessageContext synCtx)
           
 void WSDLEndpoint.send(MessageContext synCtx)
           
protected  void DynamicLoadbalanceEndpoint.sendToApplicationMember(MessageContext synCtx, Member currentMember, DynamicLoadbalanceFaultHandler faultHandler, boolean newSession)
           
protected  void DynamicLoadbalanceEndpoint.setCookieHeader(MessageContext synCtx)
           
protected  void AbstractEndpoint.setErrorOnMessage(MessageContext synCtx, String errorCode, String errorMsg)
           
 

Uses of MessageContext in org.apache.synapse.endpoints.algorithms
 

Methods in org.apache.synapse.endpoints.algorithms with parameters of type MessageContext
 Endpoint LoadbalanceAlgorithm.getNextEndpoint(MessageContext synapseMessageContext, AlgorithmContext algorithmContext)
          This method returns the next node according to the algorithm implementation.
 Endpoint RoundRobin.getNextEndpoint(MessageContext synCtx, AlgorithmContext algorithmContext)
          Choose an active endpoint using the round robin algorithm.
 Endpoint WeightedRRLCAlgorithm.getNextEndpoint(MessageContext messageContext, AlgorithmContext algorithmContext)
           
 Endpoint WeightedRoundRobin.getNextEndpoint(MessageContext synapseMessageContext, AlgorithmContext algorithmContext)
           
 

Uses of MessageContext in org.apache.synapse.endpoints.dispatch
 

Methods in org.apache.synapse.endpoints.dispatch with parameters of type MessageContext
protected  String AbstractDispatcher.extractSessionID(MessageContext synCtx, String key)
           
protected  List<String> HttpSessionDispatcher.extractSessionIDs(MessageContext synCtx, String key)
           
 SessionInformation Dispatcher.getSession(MessageContext synCtx)
          Dispatcher should check the session id pattern in the synapseMessageContext and return the matching endpoint for that session id, if available.
 SessionInformation HttpSessionDispatcher.getSession(MessageContext synCtx)
          Check if "Cookie" HTTP header is available.
 SessionInformation SimpleClientSessionDispatcher.getSession(MessageContext synCtx)
           
 SessionInformation SoapSessionDispatcher.getSession(MessageContext synCtx)
          Gives the endpoint based on the service group context ID of the request message.
 void Dispatcher.removeSessionID(MessageContext syCtx)
          Remove the session Id - To clear out session information from current message
 void HttpSessionDispatcher.removeSessionID(MessageContext syCtx)
           
 void SimpleClientSessionDispatcher.removeSessionID(MessageContext syCtx)
           
 void SoapSessionDispatcher.removeSessionID(MessageContext syCtx)
           
protected  void AbstractDispatcher.removeSessionID(MessageContext synCtx, String key)
           
 void Dispatcher.unbind(MessageContext synCtx)
          Removes the session belonging to the given message context.
 void HttpSessionDispatcher.unbind(MessageContext synCtx)
           
 void SimpleClientSessionDispatcher.unbind(MessageContext synCtx)
           
 void SoapSessionDispatcher.unbind(MessageContext synCtx)
           
 void Dispatcher.updateSession(MessageContext synCtx)
          Updates the session maps.
 void HttpSessionDispatcher.updateSession(MessageContext synCtx)
          Searches for "Set-Cookie" HTTP header in the message context.
 void SimpleClientSessionDispatcher.updateSession(MessageContext synCtx)
           
 void SoapSessionDispatcher.updateSession(MessageContext synCtx)
          As this is a server initiated session, this method will only be called for response messages.
 void SALSessions.updateSession(MessageContext synCtx, String sessionID)
          Update or establish a session
 

Uses of MessageContext in org.apache.synapse.eventing
 

Methods in org.apache.synapse.eventing with parameters of type MessageContext
 void SynapseEventSource.dispatchEvents(MessageContext msgCtx)
          Public method for event dispatching, used by the eventPublisher mediator and eventSource
 boolean SynapseEventFilter.isSatisfied(MessageContext mc)
          Check the incoming event satisfied with the defined filter
 

Uses of MessageContext in org.apache.synapse.eventing.filters
 

Methods in org.apache.synapse.eventing.filters with parameters of type MessageContext
 boolean XPathBasedEventFilter.isSatisfied(MessageContext mc)
           
 

Uses of MessageContext in org.apache.synapse.experimental
 

Methods in org.apache.synapse.experimental with parameters of type MessageContext
 boolean DetachMediator.mediate(MessageContext synCtx)
           
 boolean ReplaceMediator.mediate(MessageContext synCtx)
           
 

Uses of MessageContext in org.apache.synapse.experimental.mediators.seda
 

Methods in org.apache.synapse.experimental.mediators.seda that return types with arguments of type MessageContext
 BlockingQueue<MessageContext> SEDAQueue.getQueue()
           
 

Methods in org.apache.synapse.experimental.mediators.seda with parameters of type MessageContext
 void DefaultConsumer.consume(MessageContext messageContext)
           
 void SEDAQueueConsumer.consume(MessageContext messageContext)
           
 boolean SEDAMediator.mediate(MessageContext synCtx)
           
 void SEDAQueueProducer.produce(MessageContext messageContext)
           
 

Uses of MessageContext in org.apache.synapse.handler.util
 

Methods in org.apache.synapse.handler.util with parameters of type MessageContext
static boolean HandlerUtil.mediateInMessage(org.apache.commons.logging.Log log, MessageContext messageContext, MessageContext synCtx)
           
static boolean HandlerUtil.mediateOutMessage(org.apache.commons.logging.Log log, MessageContext messageContext, MessageContext synCtx)
           
 

Uses of MessageContext in org.apache.synapse.mediators
 

Methods in org.apache.synapse.mediators that return MessageContext
 MessageContext GetPropertyFunction.getSynCtx()
           
 

Methods in org.apache.synapse.mediators with parameters of type MessageContext
protected  void AbstractMediator.auditLog(String msg, MessageContext msgContext)
          Deprecated. This method will be removed in a future version of Synapse. Please use the SynapseLog instance returned by AbstractMediator.getLog(MessageContext) for all logging inside a mediator.
protected  void AbstractMediator.auditWarn(String msg, MessageContext msgContext)
          Deprecated. This method will be removed in a future version of Synapse. Please use the SynapseLog instance returned by AbstractMediator.getLog(MessageContext) for all logging inside a mediator.
 void MediatorProperty.evaluate(MessageContext synCtx)
           
 String Value.evaluateValue(MessageContext synCtx)
          Evaluating key based on message context used when key is a xpath expression
 String MediatorProperty.getEvaluatedExpression(MessageContext synCtx)
           
protected  SynapseLog AbstractMediator.getLog(MessageContext synCtx)
          Get a SynapseLog instance appropriate for the given context.
protected  void AbstractMediator.handleException(String msg, Exception e, MessageContext msgContext)
          Perform an error log message to all logs @ ERROR.
protected  void AbstractMediator.handleException(String msg, MessageContext msgContext)
          Perform an error log message to all logs @ ERROR.
protected  boolean AbstractMediator.isTraceOn(MessageContext msgCtx)
          Deprecated. This method will be removed in a future version of Synapse. Please use the SynapseLog instance returned by AbstractMediator.getLog(MessageContext) for all logging inside a mediator.
 boolean AbstractListMediator.mediate(MessageContext synCtx)
           
 void MediatorFaultHandler.onFault(MessageContext synCtx)
          Implements the fault handling method for the mediators (basically sequences)
 void AbstractMediator.setEffectiveTraceState(MessageContext synCtx)
          This method is used to save previous tracing state and set next the tracing state for a child mediator
 boolean FilterMediator.test(MessageContext synCtx)
          Should return true if the sub/child mediators should execute.
 

Constructors in org.apache.synapse.mediators with parameters of type MessageContext
GetPropertyFunction(MessageContext synCtx)
           
MediatorLog(org.apache.commons.logging.Log defaultLog, boolean traceOn, MessageContext synCtx)
           
MediatorWorker(Mediator seq, MessageContext synCtx)
          Constructor of the MediatorWorker which sets the sequence and the message context
MediatorWorker(MessageContext synCtx)
          Constructor od the MediatorWorker which sets the provided message context and the main sequence as the sequence for mediation
 

Uses of MessageContext in org.apache.synapse.mediators.base
 

Methods in org.apache.synapse.mediators.base with parameters of type MessageContext
 boolean SequenceMediator.mediate(MessageContext synCtx)
          If this mediator refers to another named Sequence, execute that.
 boolean SynapseMediator.mediate(MessageContext synCtx)
          Perform the mediation specified by the rule set
 

Uses of MessageContext in org.apache.synapse.mediators.bsf
 

Classes in org.apache.synapse.mediators.bsf that implement MessageContext
 class ScriptMessageContext
          ScriptMessageContext decorates the Synapse MessageContext adding methods to use the message payload XML in a way natural to the scripting languageS
 

Methods in org.apache.synapse.mediators.bsf with parameters of type MessageContext
 boolean ScriptMediator.mediate(MessageContext synCtx)
          Perform Script mediation
protected  void ScriptMediator.prepareExternalScript(MessageContext synCtx)
          Prepares the mediator for the invocation of an external script
 

Constructors in org.apache.synapse.mediators.bsf with parameters of type MessageContext
ScriptMessageContext(MessageContext mc, org.apache.bsf.xml.XMLHelper xmlHelper)
           
 

Uses of MessageContext in org.apache.synapse.mediators.builtin
 

Methods in org.apache.synapse.mediators.builtin with parameters of type MessageContext
 boolean CacheMediator.mediate(MessageContext synCtx)
           
 boolean CalloutMediator.mediate(MessageContext synCtx)
           
 boolean DropMediator.mediate(MessageContext synCtx)
          Halts further mediation of the current message by returning false.
 boolean EnqueueMediator.mediate(MessageContext synCtx)
           
 boolean LogMediator.mediate(MessageContext synCtx)
          Logs the current message according to the supplied semantics
 boolean PropertyMediator.mediate(MessageContext synCtx)
          Sets a property into the current (local) Synapse Context or into the Axis Message Context or into Transports Header and removes above properties from the corresponding locations.
 boolean RMSequenceMediator.mediate(MessageContext synCtx)
           
 boolean SendMediator.mediate(MessageContext synCtx)
          This will call the send method on the messages with implicit message parameters or else if there is an endpoint, with that endpoint parameters
 boolean ValidateMediator.mediate(MessageContext synCtx)
           
 

Uses of MessageContext in org.apache.synapse.mediators.db
 

Methods in org.apache.synapse.mediators.db with parameters of type MessageContext
protected  PreparedStatement AbstractDBMediator.getPreparedStatement(Statement stmnt, MessageContext msgCtx)
          Return a Prepared statement for the given Statement object, which is ready to be executed
 boolean AbstractDBMediator.mediate(MessageContext synCtx)
          Process each SQL statement against the current message
protected abstract  void AbstractDBMediator.processStatement(Statement query, MessageContext msgCtx)
          Subclasses must specify how each SQL statement is processed
protected  void DBLookupMediator.processStatement(Statement stmnt, MessageContext msgCtx)
           
protected  void DBReportMediator.processStatement(Statement stmnt, MessageContext msgCtx)
           
 

Uses of MessageContext in org.apache.synapse.mediators.eip
 

Methods in org.apache.synapse.mediators.eip with parameters of type MessageContext
static void EIPUtils.createSynapseEIPTemplateProperty(MessageContext synCtxt, String templateName, String paramName, Object value)
           
static void EIPUtils.enrichEnvelope(SOAPEnvelope envelope, SOAPEnvelope enricher, MessageContext synCtxt, SynapseXPath expression)
          Merge two SOAP envelopes using the given XPath expression that specifies the element that enriches the first envelope from the second
static List<OMNode> EIPUtils.getDetachedMatchingElements(SOAPEnvelope envelope, MessageContext synCtxt, SynapseXPath expression)
          Return the set of detached elements specified by the XPath over the given envelope
static List EIPUtils.getMatchingElements(SOAPEnvelope envelope, MessageContext synCtxt, SynapseXPath expression)
          Return the set of elements specified by the XPath over the given envelope
 boolean Target.mediate(MessageContext synCtx)
          process the message through this target (may be to mediate using the target sequence, send message to the target endpoint or both)
 

Uses of MessageContext in org.apache.synapse.mediators.eip.aggregator
 

Methods in org.apache.synapse.mediators.eip.aggregator that return types with arguments of type MessageContext
 List<MessageContext> Aggregate.getMessages()
           
 

Methods in org.apache.synapse.mediators.eip.aggregator with parameters of type MessageContext
 boolean Aggregate.addMessage(MessageContext synCtx)
          Add a message to the interlan message list
 boolean AggregateMediator.mediate(MessageContext synCtx)
          Aggregate messages flowing through this mediator according to the correlation criteria and the aggregation algorithm specified to it
 

Method parameters in org.apache.synapse.mediators.eip.aggregator with type arguments of type MessageContext
 void Aggregate.setMessages(List<MessageContext> messages)
           
 

Uses of MessageContext in org.apache.synapse.mediators.eip.sample
 

Methods in org.apache.synapse.mediators.eip.sample that return MessageContext
 MessageContext MessageQueue.get()
           
 MessageContext UnboundedMessageQueue.get()
           
 

Methods in org.apache.synapse.mediators.eip.sample with parameters of type MessageContext
 void MessageQueue.add(MessageContext synCtx)
           
 void UnboundedMessageQueue.add(MessageContext synCtx)
           
 boolean SamplingThrottleMediator.mediate(MessageContext messageContext)
           
 

Uses of MessageContext in org.apache.synapse.mediators.eip.splitter
 

Methods in org.apache.synapse.mediators.eip.splitter with parameters of type MessageContext
 boolean CloneMediator.mediate(MessageContext synCtx)
          This will implement the mediate method of the Mediator interface and will provide the functionality of cloning message into the specified targets and mediation
 boolean IterateMediator.mediate(MessageContext synCtx)
          Splits the message by iterating over the results of the given XPath expression
 

Uses of MessageContext in org.apache.synapse.mediators.elementary
 

Methods in org.apache.synapse.mediators.elementary with parameters of type MessageContext
 ArrayList<OMNode> Source.evaluate(MessageContext synCtx, SynapseLog synLog)
           
 void Target.insert(MessageContext synContext, ArrayList<OMNode> sourceNodeList, SynapseLog synLog)
           
 boolean EnrichMediator.mediate(MessageContext synCtx)
           
 

Uses of MessageContext in org.apache.synapse.mediators.eventing
 

Methods in org.apache.synapse.mediators.eventing with parameters of type MessageContext
 boolean EventPublisherMediator.mediate(MessageContext synCtx)
           
 

Uses of MessageContext in org.apache.synapse.mediators.ext
 

Methods in org.apache.synapse.mediators.ext with parameters of type MessageContext
 boolean AnnotatedCommandMediator.mediate(MessageContext synCtx)
           
 boolean ClassMediator.mediate(MessageContext synCtx)
          Don't use a new instance...
 boolean POJOCommandMediator.mediate(MessageContext synCtx)
          Implements the mediate method of the Mediator interface.
 

Uses of MessageContext in org.apache.synapse.mediators.filters
 

Methods in org.apache.synapse.mediators.filters with parameters of type MessageContext
 boolean FilterMediator.mediate(MessageContext synCtx)
          Executes the list of sub/child mediators, if the filter condition is satisfied
 boolean InMediator.mediate(MessageContext synCtx)
          Executes the list of sub/child mediators, if the filter condition is satisfied
 boolean OutMediator.mediate(MessageContext synCtx)
          Executes the list of sub/child mediators, if the filter condition is satisfied
 boolean SwitchMediator.mediate(MessageContext synCtx)
          Iterate over switch cases and find match and execute selected sequence
 boolean FilterMediator.test(MessageContext synCtx)
          Tests the supplied condition after evaluation against the given XPath or Regex (against a source XPath).
 boolean InMediator.test(MessageContext synCtx)
          Apply mediation only on request messages
 boolean OutMediator.test(MessageContext synCtx)
          Apply mediation only on response messages
 

Uses of MessageContext in org.apache.synapse.mediators.filters.router
 

Methods in org.apache.synapse.mediators.filters.router with parameters of type MessageContext
 boolean ConditionalRouterMediator.mediate(MessageContext synCtx)
           
 

Uses of MessageContext in org.apache.synapse.mediators.spring
 

Methods in org.apache.synapse.mediators.spring with parameters of type MessageContext
 boolean SpringMediator.mediate(MessageContext synCtx)
           
 

Uses of MessageContext in org.apache.synapse.mediators.store
 

Methods in org.apache.synapse.mediators.store with parameters of type MessageContext
 boolean MessageStoreMediator.mediate(MessageContext synCtx)
           
 

Uses of MessageContext in org.apache.synapse.mediators.template
 

Methods in org.apache.synapse.mediators.template with parameters of type MessageContext
 boolean InvokeMediator.mediate(MessageContext synCtx)
           
 boolean TemplateMediator.mediate(MessageContext synCtx)
           
 void TemplateContext.setupParams(MessageContext synCtxt)
          evaluate raw parameters passed from an invoke medaiator and store them in this context
 

Uses of MessageContext in org.apache.synapse.mediators.throttle
 

Methods in org.apache.synapse.mediators.throttle with parameters of type MessageContext
 boolean ThrottleMediator.mediate(MessageContext synCtx)
           
 

Uses of MessageContext in org.apache.synapse.mediators.transaction
 

Methods in org.apache.synapse.mediators.transaction with parameters of type MessageContext
 boolean TransactionMediator.mediate(MessageContext synCtx)
           
 

Uses of MessageContext in org.apache.synapse.mediators.transform
 

Methods in org.apache.synapse.mediators.transform with parameters of type MessageContext
 boolean FaultMediator.mediate(MessageContext synCtx)
           
 boolean HeaderMediator.mediate(MessageContext synCtx)
          Sets/Removes a SOAP header on the current message
 boolean PayloadFactoryMediator.mediate(MessageContext synCtx)
           
 boolean XSLTMediator.mediate(MessageContext synCtx)
          Transforms this message (or its element specified as the source) using the given XSLT transformation
 

Uses of MessageContext in org.apache.synapse.mediators.transform.url
 

Methods in org.apache.synapse.mediators.transform.url with parameters of type MessageContext
 void RewriteAction.execute(URIFragments fragments, MessageContext messageContext)
           
 boolean URLRewriteMediator.mediate(MessageContext messageContext)
           
 void RewriteRule.rewrite(URIFragments fragments, MessageContext messageContext)
           
 

Uses of MessageContext in org.apache.synapse.mediators.xquery
 

Methods in org.apache.synapse.mediators.xquery with parameters of type MessageContext
 boolean MediatorBaseVariable.evaluateValue(MessageContext synCtx)
           
 boolean MediatorCustomVariable.evaluateValue(MessageContext synCtx)
          To assign a value to variable dynamically
abstract  boolean MediatorVariable.evaluateValue(MessageContext synCtx)
          Calculates the value of this variable
 boolean XQueryMediator.mediate(MessageContext synCtx)
          Performs the query and attached the result to the target Node
 

Uses of MessageContext in org.apache.synapse.message.processors.forward
 

Methods in org.apache.synapse.message.processors.forward that return MessageContext
 MessageContext BlockingMessageSender.send(EndpointDefinition endpoint, MessageContext messageIn)
          Send the message to a given AddressEndpoint in a blocking manner
 

Methods in org.apache.synapse.message.processors.forward with parameters of type MessageContext
 MessageContext BlockingMessageSender.send(EndpointDefinition endpoint, MessageContext messageIn)
          Send the message to a given AddressEndpoint in a blocking manner
 

Uses of MessageContext in org.apache.synapse.message.store
 

Methods in org.apache.synapse.message.store that return MessageContext
 MessageContext InMemoryMessageStore.get(int index)
           
 MessageContext MessageStore.get(int index)
          Return the Message in given index position (this may depend on the implementation)
 MessageContext InMemoryMessageStore.get(String messageId)
           
 MessageContext MessageStore.get(String messageId)
          Get the Message with the given ID from the Message store without removing it
 MessageContext InMemoryMessageStore.peek()
           
 MessageContext MessageStore.peek()
          Retrieves but not removes the first Message in this store.
 MessageContext InMemoryMessageStore.poll()
           
 MessageContext MessageStore.poll()
          Retrieves and removes the first Message in this store.
 MessageContext InMemoryMessageStore.remove()
           
 MessageContext MessageStore.remove()
          Retrieves and removes the first Message in this store.
 MessageContext InMemoryMessageStore.remove(String messageID)
           
 MessageContext MessageStore.remove(String messageID)
          Delete and return the MessageContext with given Message id
 

Methods in org.apache.synapse.message.store that return types with arguments of type MessageContext
 List<MessageContext> InMemoryMessageStore.getAll()
           
 List<MessageContext> MessageStore.getAll()
          Get the All messages in the Message store without removing them from the queue
 

Methods in org.apache.synapse.message.store with parameters of type MessageContext
 boolean InMemoryMessageStore.offer(MessageContext messageContext)
           
 boolean MessageStore.offer(MessageContext messageContext)
          Inserts the Message into this store if it is possible to do so immediately without violating capacity restrictions.
 

Uses of MessageContext in org.apache.synapse.rest
 

Methods in org.apache.synapse.rest with parameters of type MessageContext
static String RESTUtils.getFullRequestPath(MessageContext synCtx)
           
static String RESTUtils.getSubRequestPath(MessageContext synCtx)
           
 boolean Handler.handleRequest(MessageContext messageContext)
           
 boolean Handler.handleResponse(MessageContext messageContext)
           
 boolean RESTRequestHandler.process(MessageContext synCtx)
          Attempt to process the given message through one of the available APIs.
 

Uses of MessageContext in org.apache.synapse.rest.dispatch
 

Methods in org.apache.synapse.rest.dispatch with parameters of type MessageContext
 Resource DefaultDispatcher.findResource(MessageContext synCtx, Collection<Resource> resources)
           
 Resource RESTDispatcher.findResource(MessageContext synCtx, Collection<Resource> resources)
          Find a Resource instance suitable for processing the given message
 Resource URITemplateBasedDispatcher.findResource(MessageContext synCtx, Collection<Resource> resources)
           
 Resource URLMappingBasedDispatcher.findResource(MessageContext synCtx, Collection<Resource> resources)
           
 

Uses of MessageContext in org.apache.synapse.util
 

Methods in org.apache.synapse.util that return MessageContext
static MessageContext MessageHelper.cloneMessageContext(MessageContext synCtx)
          This method will simulate cloning the message context and creating an exact copy of the passed message.
 

Methods in org.apache.synapse.util with parameters of type MessageContext
static MessageContext MessageHelper.cloneMessageContext(MessageContext synCtx)
          This method will simulate cloning the message context and creating an exact copy of the passed message.
static DataHandler PayloadHelper.getBinaryPayload(MessageContext mc)
           
static SimpleMap PayloadHelper.getMapPayload(MessageContext mc)
           
static int PayloadHelper.getPayloadType(MessageContext mc)
           
static org.apache.neethi.Policy MessageHelper.getPolicy(MessageContext synCtx, String propertyKey)
          Get the Policy object for the given name from the Synapse configuration at runtime
static javax.xml.stream.XMLStreamReader PayloadHelper.getStAXPayload(MessageContext mc)
           
static String PayloadHelper.getTextPayload(MessageContext mc)
           
static void PayloadHelper.setBinaryPayload(MessageContext mc, DataHandler dh)
           
static void PayloadHelper.setMapPayload(MessageContext mc, SimpleMap map)
           
static void PayloadHelper.setStAXPayload(MessageContext mc, javax.xml.stream.XMLStreamReader streamReader)
           
static void PayloadHelper.setTextPayload(MessageContext mc, String text)
           
static void PayloadHelper.setXMLPayload(MessageContext mc, OMElement element)
           
 

Uses of MessageContext in org.apache.synapse.util.xpath
 

Methods in org.apache.synapse.util.xpath with parameters of type MessageContext
 Object SynapseXPath.evaluate(Object primaryContext, MessageContext secondaryContext)
          Specialized form of xpath evaluation function.An xpath evaluate() will be performed using two contexts (ie:-soap-envelope and on Synapse Message Context).
 OMNode SourceXPathSupport.selectOMNode(MessageContext synCtx, SynapseLog synLog)
          Get the first node selected by the configured XPath expression.
 String SynapseXPath.stringValueOf(MessageContext synCtx)
          Evaluates the XPath expression against the MessageContext of the current message and returns a String representation of the result
 

Constructors in org.apache.synapse.util.xpath with parameters of type MessageContext
SynapseXPathFunctionContext(FunctionContext parent, MessageContext synCtx)
          Initialises the function context
SynapseXPathVariableContext(VariableContext parent, MessageContext synCtx)
          Initializes the SynapseVariableContext with the specified context
SynapseXPathVariableContext(VariableContext parent, MessageContext synCtx, SOAPEnvelope env)
          Initializes the SynapseVariableContext with the specified envelope
 

Uses of MessageContext in org.apache.synapse.util.xpath.ext
 

Methods in org.apache.synapse.util.xpath.ext with parameters of type MessageContext
static Function XpathExtensionUtil.getFunctionContext(MessageContext ctxt, String namespaceURI, String prefix, String localName)
          Returns a Function Context extension registered for given QName/namespaceURI+prefix+localName combination
 Function SynapseXpathFunctionContextProvider.getInitializedExtFunction(MessageContext msgCtxt)
          This method should implement instatntiation code for custom xpath function for the registered QNames given by #getResolvingQName().Note that this extension provider is responsible for initalizing custom xpath function and returning a fresh function instance to Synapse.
 Object SynapseXpathVariableResolver.resolve(MessageContext msgCtxt)
          This method should implement the resolving code for custom xpath variable for the registered QName given by #getResolvingQName().
static Object XpathExtensionUtil.resolveVariableContext(MessageContext ctxt, String namespaceURI, String prefix, String localName)
          Returns an object resolved by Variable Context extension registered for given QName/namespaceURI+prefix+localName combination
 

Uses of MessageContext in samples.mediators
 

Methods in samples.mediators with parameters of type MessageContext
 boolean BinaryExtractMediator.mediate(MessageContext msgCtx)
           
 boolean DiscountQuoteMediator.mediate(MessageContext mc)
           
 

Uses of MessageContext in samples.mediators.extensions
 

Methods in samples.mediators.extensions with parameters of type MessageContext
 boolean SpringCustomLogger.mediate(MessageContext synCtx)
           
 



Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.