Uses of Interface
org.apache.synapse.MessageContext
-
-
Uses of MessageContext in org.apache.synapse
Methods in org.apache.synapse with parameters of type MessageContext Modifier and Type Method Description protected voidFaultHandler. executeExtendedSynapseHandlerOnFault(MessageContext synCtx)Execute the ExtendedSynapseHandler in the error flow.booleanExtendedSynapseHandler. handleError(MessageContext synCtx)Handle error requests coming to the synapse engine.voidFaultHandler. handleFault(MessageContext synCtx)voidFaultHandler. handleFault(MessageContext synCtx, Exception e)Extract and set ERROR_MESSAGE and ERROR_DETAIL to the message context from the ExceptionbooleanSynapseHandler. handleRequestInFlow(MessageContext synCtx)Handle request message coming into the enginebooleanSynapseHandler. handleRequestOutFlow(MessageContext synCtx)Handle request message going out from the enginebooleanSynapseHandler. handleResponseInFlow(MessageContext synCtx)Handle response message coming into the enginebooleanSynapseHandler. handleResponseOutFlow(MessageContext synCtx)Handle response message going out from the enginebooleanMediator. mediate(MessageContext synCtx)Invokes the mediator passing the current message for mediation.abstract voidFaultHandler. onFault(MessageContext synCtx)This will be executed to handle any Exceptions occurred within the Synapse environment.voidMediator. reportCloseStatistics(MessageContext synCtx, Integer currentIndex)Report Close Statistic Event for the MediatorIntegerMediator. reportOpenStatistics(MessageContext synCtx, boolean isContentAltering)Report Open Statistic Event for the Mediator -
Uses of MessageContext in org.apache.synapse.api
Methods in org.apache.synapse.api with parameters of type MessageContext Modifier and Type Method Description protected voidAbstractApiHandler. apiProcess(MessageContext synCtx, API api)protected voidAbstractApiHandler. apiProcessNonDefaultStrategy(MessageContext synCtx, API api)booleanAPI. canProcess(MessageContext synCtx)protected booleanAbstractApiHandler. dispatchToAPI(Collection<API> apiSet, MessageContext synCtx)protected abstract booleanAbstractApiHandler. dispatchToAPI(MessageContext synCtx)static StringApiUtils. getFullRequestPath(MessageContext synCtx)static StringApiUtils. getSubRequestPath(MessageContext synCtx)protected booleanAbstractApiHandler. identifyAPI(API api, MessageContext synCtx, List defaultStrategyApiSet)static voidApiUtils. populateQueryParamsToMessageContext(MessageContext synCtx)Populate Message context properties for the query parameters extracted from the urlabstract booleanAbstractApiHandler. process(MessageContext synCtx)voidAPI. process(MessageContext synCtx)voidResource. registerFaultHandler(MessageContext synCtx) -
Uses of MessageContext in org.apache.synapse.api.cors
Methods in org.apache.synapse.api.cors with parameters of type MessageContext Modifier and Type Method Description static voidCORSHelper. handleCORSHeaders(CORSConfiguration corsConfiguration, MessageContext synCtx, String supportedMethods, boolean updateHeaders)Functions to handle CORS Headersstatic voidCORSHelper. handleCORSHeadersForResponse(CORSConfiguration corsConfiguration, MessageContext synCtx)Function to set CORS headers to response message transport headers extracting from synapse message context -
Uses of MessageContext in org.apache.synapse.api.dispatch
Methods in org.apache.synapse.api.dispatch with parameters of type MessageContext Modifier and Type Method Description ResourceDefaultDispatcher. findResource(MessageContext synCtx, Collection<Resource> resources)ResourceRESTDispatcher. findResource(MessageContext synCtx, Collection<Resource> resources)Find a Resource instance suitable for processing the given messageResourceURITemplateBasedDispatcher. findResource(MessageContext synCtx, Collection<Resource> resources)ResourceURLMappingBasedDispatcher. findResource(MessageContext synCtx, Collection<Resource> resources) -
Uses of MessageContext in org.apache.synapse.api.inbound
Methods in org.apache.synapse.api.inbound with parameters of type MessageContext Modifier and Type Method Description protected booleanInboundApiHandler. dispatchToAPI(MessageContext synCtx)booleanInboundApiHandler. process(MessageContext synCtx)Attempt to process the given message through one of the available inbound APIs. -
Uses of MessageContext in org.apache.synapse.api.rest
Methods in org.apache.synapse.api.rest with parameters of type MessageContext Modifier and Type Method Description protected booleanRestRequestHandler. dispatchToAPI(MessageContext synCtx)booleanRestRequestHandler. process(MessageContext synCtx)Attempt to process the given message through one of the available APIs. -
Uses of MessageContext in org.apache.synapse.aspects
Methods in org.apache.synapse.aspects with parameters of type MessageContext Modifier and Type Method Description static AspectConfigurationAspectConfigurationDetectionStrategy. 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.flow.statistics
Methods in org.apache.synapse.aspects.flow.statistics with parameters of type MessageContext Modifier and Type Method Description voidStatisticsCloseEventListener. invokeCloseEventEntry(MessageContext synCtx)This method implements how to close the statistic events from synapse mediation engine. -
Uses of MessageContext in org.apache.synapse.aspects.flow.statistics.collectors
Methods in org.apache.synapse.aspects.flow.statistics.collectors with parameters of type MessageContext Modifier and Type Method Description static voidCallbackStatisticCollector. addCallback(MessageContext messageContext, String callbackId)Enqueue CallbackSentEvent event to the event queue.protected static voidRuntimeStatisticCollector. addEvent(MessageContext messageContext, StatisticsReportingEvent event)Helper method to just add event without changing counts.protected static voidRuntimeStatisticCollector. addEventAndCloseFlow(MessageContext messageContext, StatisticsReportingEvent event)Helper method to add event and close the message flow static collection.protected static voidRuntimeStatisticCollector. addEventAndDecrementCallbackCount(MessageContext messageContext, StatisticsReportingEvent event)Helper method to add event and decrement call back count, which denotes, call back has been received.protected static voidRuntimeStatisticCollector. addEventAndDecrementCount(MessageContext messageContext, StatisticsReportingEvent event)Helper method to add event and decrement stat count, which denotes, closing event happened.protected static voidRuntimeStatisticCollector. addEventAndIncrementCallbackCount(MessageContext messageContext, StatisticsReportingEvent event)Helper method to add event and increment call back count, which notifies that a callback has been registeredprotected static voidRuntimeStatisticCollector. addEventAndIncrementCount(MessageContext messageContext, StatisticsReportingEvent event)Helper method to add event and increment stat count so that it denotes, open event is added.static voidCallbackStatisticCollector. callbackCompletionEvent(MessageContext oldMessageContext, String callbackId)Enqueue CallbackCompletionEvent event to the event queue.static voidCloseEventCollector. closeEntryEvent(MessageContext messageContext, String componentName, ComponentType componentType, Integer currentIndex, boolean isContentAltering)Enqueue statistics event to the event queue.static voidCloseEventCollector. closeEntryEvent(MessageContext messageContext, String componentName, ComponentType componentType, Integer currentIndex, boolean isContentAltering, String propertyValue)Enqueue statistics event to the event queue.static voidCloseEventCollector. closeFlowForcefully(MessageContext messageContext, boolean error)Enqueue statistics event to the event queue.static voidOpenEventCollector. openContinuationEvents(MessageContext synCtx)Add event in to the event queue.static voidCallbackStatisticCollector. reportCallbackHandlingCompletion(MessageContext synapseOutMsgCtx, String callbackId)Enqueue CallbackHandledEvent event to the event queue.static IntegerOpenEventCollector. reportChildEntryEvent(MessageContext messageContext, String componentName, ComponentType componentType, AspectConfiguration aspectConfiguration, boolean isContentAltering)Enqueue StatisticOpenEvent to the event Queue.static IntegerOpenEventCollector. reportEntryEvent(MessageContext messageContext, String componentName, AspectConfiguration aspectConfiguration, ComponentType componentType)Enqueue StatisticOpenEvent to the event Queue.static voidFaultStatisticCollector. reportFault(MessageContext messageContext)Enqueue Fault Event to the event queue indicating that fault has occurred in the message flow.static IntegerOpenEventCollector. reportFlowAggregateEvent(MessageContext messageContext, String componentName, ComponentType componentType, AspectConfiguration aspectConfiguration, boolean isContentAltering)Enqueue StatisticOpenEvent to the event Queue.static voidOpenEventCollector. reportFlowAsynchronousEvent(MessageContext messageContext)Enqueue StatisticOpenEvent for asynchronous invocation.static IntegerOpenEventCollector. reportFlowContinuableEvent(MessageContext messageContext, String componentName, ComponentType componentType, AspectConfiguration aspectConfiguration, boolean isContentAltering)Enqueue StatisticOpenEvent to the event Queue.static IntegerOpenEventCollector. reportFlowSplittingEvent(MessageContext messageContext, String componentName, ComponentType componentType, AspectConfiguration aspectConfiguration, boolean isContentAltering)Enqueue StatisticOpenEvent to the event Queue.protected static voidRuntimeStatisticCollector. setStatisticsTraceId(MessageContext msgCtx)Set message Id of the message context as statistic trace Id at the beginning of the statistic flow.static booleanRuntimeStatisticCollector. shouldReportStatistic(MessageContext messageContext)Returns true if statistics is collected in this message flow path.static voidCloseEventCollector. tryEndFlow(MessageContext messageContext, String componentName, ComponentType componentType, Integer currentIndex, boolean isContentAltering)Enqueue statistics events to the event queue to close and try to finish the flow.static voidCallbackStatisticCollector. updateParentsForCallback(MessageContext oldMessageContext, String callbackId)Enqueue CallbackReceivedEvent event to the event queue. -
Uses of MessageContext in org.apache.synapse.aspects.flow.statistics.data.raw
Methods in org.apache.synapse.aspects.flow.statistics.data.raw with parameters of type MessageContext Modifier and Type Method Description voidBasicStatisticDataUnit. generateElasticMetadata(MessageContext messageContext) -
Uses of MessageContext in org.apache.synapse.aspects.flow.statistics.elasticsearch
Constructors in org.apache.synapse.aspects.flow.statistics.elasticsearch with parameters of type MessageContext Constructor Description ElasticMetadata(MessageContext msgCtx) -
Uses of MessageContext in org.apache.synapse.aspects.flow.statistics.tracing.opentelemetry.management.handling.event
Methods in org.apache.synapse.aspects.flow.statistics.tracing.opentelemetry.management.handling.event with parameters of type MessageContext Modifier and Type Method Description voidCallbackEventHandler. handleAddCallback(MessageContext messageContext, String callbackId)Handles callback addition.voidCallbackEventHandler. handleCallbackCompletionEvent(MessageContext oldMessageContext, String callbackId)Handles callback completion.voidCloseEventHandler. handleCloseEntryEvent(BasicStatisticDataUnit basicStatisticDataUnit, MessageContext synCtx)Handles a close entry event.voidCloseEventHandler. handleCloseFlowForcefully(BasicStatisticDataUnit basicStatisticDataUnit, MessageContext synCtx)Handles a forceful close event.voidOpenEventHandler. handleOpenChildEntryEvent(StatisticDataUnit statisticDataUnit, MessageContext synCtx)Handles an open child entry event.voidOpenEventHandler. handleOpenContinuationEvents(BasicStatisticDataUnit statisticDataUnit, MessageContext synCtx)Handles an open continuation event.voidOpenEventHandler. handleOpenEntryEvent(StatisticDataUnit statisticDataUnit, MessageContext synCtx)Handles an open entry event.voidOpenEventHandler. handleOpenFlowAggregateEvent(StatisticDataUnit statisticDataUnit, MessageContext synCtx)Handles a flow aggregate open event.voidOpenEventHandler. handleOpenFlowAsynchronousEvent(BasicStatisticDataUnit statisticDataUnit, MessageContext synCtx)Handles a flow asynchronous open event.voidOpenEventHandler. handleOpenFlowContinuableEvent(StatisticDataUnit statisticDataUnit, MessageContext synCtx)Handles a flow continuable open event.voidOpenEventHandler. handleOpenFlowSplittingEvent(StatisticDataUnit statisticDataUnit, MessageContext synCtx)Handles a flow splitting open event.voidCallbackEventHandler. handleReportCallbackHandlingCompletion(MessageContext synapseOutMsgCtx, String callbackId)Handles callback completion report.voidContinuationStateStackEventHandler. handleStateStackClearance(MessageContext synCtx)Handles clearance of the continuation state stack.voidContinuationStateStackEventHandler. handleStateStackInsertion(MessageContext synCtx, String seqName, SequenceType seqType)Handles insertion to the continuation state stack.voidContinuationStateStackEventHandler. handleStateStackRemoval(ContinuationState continuationState, MessageContext synCtx)Handles removal from the continuation state stack.voidCloseEventHandler. handleTryEndFlow(BasicStatisticDataUnit basicStatisticDataUnit, MessageContext synCtx)Handles a try end flow event.voidCallbackEventHandler. handleUpdateParentsForCallback(MessageContext oldMessageContext, String callbackId)Handles parents update for a callback. -
Uses of MessageContext in org.apache.synapse.aspects.flow.statistics.tracing.opentelemetry.management.handling.span
-
Uses of MessageContext in org.apache.synapse.aspects.flow.statistics.tracing.opentelemetry.management.parentresolving
Methods in org.apache.synapse.aspects.flow.statistics.tracing.opentelemetry.management.parentresolving with parameters of type MessageContext Modifier and Type Method Description static SpanWrapperArtifactHolderBasedParentResolver. resolveParent(StatisticDataUnit child, SpanStore spanStore, MessageContext synCtx)Resolves parent span, based on the artifact holder.static SpanWrapperParentResolver. resolveParent(StatisticDataUnit child, SpanStore spanStore, MessageContext synCtx)Resolves parent spans before a child span starts. -
Uses of MessageContext in org.apache.synapse.aspects.flow.statistics.tracing.opentelemetry.management.scoping
Methods in org.apache.synapse.aspects.flow.statistics.tracing.opentelemetry.management.scoping with parameters of type MessageContext Modifier and Type Method Description TracingScopeTracingScopeManager. getTracingScope(MessageContext synCtx)Returns a tracing scope object for the provided message context.booleanTracingScope. isEventCollectionFinished(MessageContext synCtx)Denotes whether event collection has been finished in this scope, so that the outer level span of this scope can be ended. -
Uses of MessageContext in org.apache.synapse.aspects.flow.statistics.tracing.opentelemetry.stores
Methods in org.apache.synapse.aspects.flow.statistics.tracing.opentelemetry.stores with parameters of type MessageContext Modifier and Type Method Description SpanWrapperSpanStore. addSpanWrapper(String spanId, io.opentelemetry.api.trace.Span activeSpan, StatisticDataUnit statisticDataUnit, SpanWrapper parentSpanWrapper, MessageContext synCtx)Denotes the beginning of a span. -
Uses of MessageContext in org.apache.synapse.aspects.flow.statistics.util
Methods in org.apache.synapse.aspects.flow.statistics.util with parameters of type MessageContext Modifier and Type Method Description static voidStatisticDataCollectionHelper. collectAggregatedParents(List<MessageContext> messages, MessageContext newCtx)This method is used to collect all the parent indexes from message contexts which contributes to aggregate message at the end of the aggregation.static voidStatisticDataCollectionHelper. collectData(MessageContext messageContext, boolean isContentAltering, Boolean isCollectingTracing, StatisticDataUnit statisticDataUnit)Collect necessary statistics data from the message context.static StringTracingDataCollectionHelper. collectPayload(MessageContext messageContext)Extract payload from the synapse message context.static Map<String,Object>TracingDataCollectionHelper. extractContextProperties(MessageContext synCtx)Extract properties from the synapse message context.static Map<String,Object>TracingDataCollectionHelper. extractTransportProperties(MessageContext synCtx)Extract transport headers from the synapse message context.static intStatisticDataCollectionHelper. getFlowPosition(MessageContext messageContext)Get message flow position for the current component.static intStatisticDataCollectionHelper. getParentFlowPosition(MessageContext messageContext, Integer newParentIndex)Get parent of this statistic component and sets current message flow position as next components parent.static List<Integer>StatisticDataCollectionHelper. getParentList(MessageContext messageContext)Get Parent list for this component.static StringStatisticDataCollectionHelper. getStatisticTraceId(MessageContext messageContext)Get statistic trace id for this message flow.static booleanStatisticDataCollectionHelper. isOutOnlyFlow(MessageContext messageContext)Checks is this is a Out_Only message flow.Method parameters in org.apache.synapse.aspects.flow.statistics.util with type arguments of type MessageContext Modifier and Type Method Description static voidStatisticDataCollectionHelper. collectAggregatedParents(List<MessageContext> messages, MessageContext newCtx)This method is used to collect all the parent indexes from message contexts which contributes to aggregate message at the end of the aggregation. -
Uses of MessageContext in org.apache.synapse.carbonext
Methods in org.apache.synapse.carbonext with parameters of type MessageContext Modifier and Type Method Description booleanTenantInfoConfigurator. applyTenantInfo(MessageContext out)booleanTenantInfoConfigurator. extractTenantInfo(MessageContext in) -
Uses of MessageContext in org.apache.synapse.config.xml
Methods in org.apache.synapse.config.xml with parameters of type MessageContext Modifier and Type Method Description booleanAnonymousListMediator. mediate(MessageContext synCtx)booleanSwitchCase. mediate(MessageContext synCtx)To delegate message mediation to list mediatorabstract StringSynapsePath. stringValueOf(MessageContext synCtx) -
Uses of MessageContext in org.apache.synapse.continuation
Methods in org.apache.synapse.continuation with parameters of type MessageContext Modifier and Type Method Description static voidContinuationStackManager. addReliantContinuationState(MessageContext synCtx, int subBranch, int position)Add a ReliantContinuationState to the top SeqContinuationState in the stack.static voidContinuationStackManager. addSeqContinuationState(MessageContext synCtx, String seqName, SequenceType seqType)Add new SeqContinuationState to the stack.static voidContinuationStackManager. clearStack(MessageContext synCtx)Remove all ContinuationStates from ContinuationState Stackstatic booleanContinuationStackManager. isSkipSeqContinuationStateAddition(MessageContext synCtx)Check whether sequence continuation state addition need to be skippedstatic ContinuationStateContinuationStackManager. peakContinuationStateStack(MessageContext synCtx)Peek from Continuation Stackstatic voidContinuationStackManager. popContinuationStateStack(MessageContext synCtx)Pop from Continuation Stackstatic voidContinuationStackManager. pushFaultHandler(MessageContext synCtx, SeqContinuationState seqContState)Push fault handler for the received continuation call response.static voidContinuationStackManager. removeReliantContinuationState(MessageContext synCtx)Remove a ReliantContinuationState from the top SeqContinuationState in the stack.static voidContinuationStackManager. removeSeqContinuationState(MessageContext synCtx, SequenceType seqType)Remove top SeqContinuationState from the stack.static SequenceMediatorContinuationStackManager. retrieveSequence(MessageContext synCtx, SeqContinuationState seqContState)Retrieve the sequence from Continuation state which message should be injected to.static voidContinuationStackManager. updateSeqContinuationState(MessageContext synCtx, int position)Update SeqContinuationState with the current mediator position in the sequence. -
Uses of MessageContext in org.apache.synapse.core
Methods in org.apache.synapse.core that return MessageContext Modifier and Type Method Description MessageContextSynapseEnvironment. createMessageContext()Creates a new SynapseMessageContextinstance.Methods in org.apache.synapse.core with parameters of type MessageContext Modifier and Type Method Description voidSynapseEnvironment. injectAsync(MessageContext smc, SequenceMediator seq)This method injects a new message into the Synapse engine for the mediation by the specified sequence.booleanSynapseEnvironment. injectInbound(MessageContext smc, SequenceMediator seq, boolean sequential)This method injects a new message into the Synapse engine for the mediation by the specified sequence.booleanSynapseEnvironment. injectMessage(MessageContext smc)This method injects a new message into the Synapse engine.booleanSynapseEnvironment. injectMessage(MessageContext smc, SequenceMediator seq)Inject message to the sequence in synchronous mannervoidSynapseEnvironment. 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 Modifier and Type Class Description classAxis2MessageContextThis is the MessageContext implementation that synapse uses almost all the time because Synapse is implemented on top of the Axis2Methods in org.apache.synapse.core.axis2 that return MessageContext Modifier and Type Method Description MessageContextAxis2SynapseEnvironment. createMessageContext()This method will be used to create a new MessageContext in the Axis2 environment for Synapse.static MessageContextMessageContextCreatorForAxis2. getSynapseMessageContext(org.apache.axis2.context.MessageContext axisMsgCtx)MessageContextAsyncCallback. getSynapseOutMsgCtx()Methods in org.apache.synapse.core.axis2 with parameters of type MessageContext Modifier and Type Method Description static voidSynapseMessageReceiver. doPostInjectUpdates(MessageContext messageContext)Do the cleanup work, metadata updates in the return path of Message Receiver tread after injecting the message to the enginevoidAxis2SynapseEnvironment. injectAsync(MessageContext synCtx, SequenceMediator seq)booleanAxis2SynapseEnvironment. injectInbound(MessageContext synCtx, SequenceMediator seq, boolean sequential)Used by inbound polling endpoints to inject the message to synapse enginebooleanAxis2SynapseEnvironment. injectMessage(MessageContext synCtx)booleanAxis2SynapseEnvironment. injectMessage(MessageContext smc, SequenceMediator seq)static booleanAxis2Sender. preventMultipleResponses(MessageContext messageContext)This will ensure only one response is sent for a single request.voidProxyService. registerFaultHandler(MessageContext synCtx)Register the fault handler for the message contextstatic voidAxis2FlexibleMEPClient. send(EndpointDefinition endpoint, MessageContext synapseOutMessageContext)Based on the Axis2 client code.voidAxis2SynapseEnvironment. 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 voidAxis2Sender. sendBack(MessageContext smc)Send a response back to a client of Synapsestatic voidAxis2Sender. sendOn(EndpointDefinition endpoint, MessageContext synapseInMessageContext)Send a message out from the Synapse engine to an external serviceConstructors in org.apache.synapse.core.axis2 with parameters of type MessageContext Constructor Description AsyncCallback(org.apache.axis2.context.MessageContext messageContext, MessageContext synapseOutMsgCtx) -
Uses of MessageContext in org.apache.synapse.debug
Methods in org.apache.synapse.debug with parameters of type MessageContext Modifier and Type Method Description voidSynapseDebugManager. advertiseMediationFlowBreakPoint(MessageContext synCtx, SynapseMediationFlowPoint breakPoint)advertise a mediation breakpoint to the communication channelvoidSynapseDebugManager. advertiseMediationFlowSkip(MessageContext synCtx, SynapseMediationFlowPoint skipPoint)advertise a mediation skip to the communication channelvoidSynapseDebugManager. advertiseMediationFlowStartPoint(MessageContext synCtx)Related to advertising the point where mediation flow starts.voidSynapseDebugManager. advertiseMediationFlowTerminatePoint(MessageContext synCtx)related to advertising mediation flow terminating point to the communication channelvoidSynapseDebugManager. setMessageContext(MessageContext synCtx) -
Uses of MessageContext in org.apache.synapse.endpoints
Methods in org.apache.synapse.endpoints that return MessageContext Modifier and Type Method Description MessageContextOAuthConfiguredHTTPEndpoint. retryCallWithNewToken(MessageContext synCtx)This method is called when we need to retry a call to the resource with a new tokenMethods in org.apache.synapse.endpoints with parameters of type MessageContext Modifier and Type Method Description StringEndpointDefinition. evaluateDynamicEndpointSecurityPolicy(MessageContext synCtx)Evaluates the ws security policy path dynamicallylongEndpointDefinition. evaluateDynamicEndpointTimeout(MessageContext synCtx)protected voidAbstractEndpoint. evaluateProperties(MessageContext synCtx)Evaluates the endpoint properties based on the current message context and set the properties to the message context appropriatelyvoidAbstractEndpoint. executeEpTypeSpecificFunctions(MessageContext synCtx)voidHTTPEndpoint. executeEpTypeSpecificFunctions(MessageContext synCtx)protected StringDynamicLoadbalanceEndpoint. extractSessionID(MessageContext synCtx, String key)StringEndpointDefinition. getAddress(MessageContext messageContext)This should return the absolute EPR address referenced by the named endpoint.StringEndpointDefinition. getDynamicAddress(MessageContext messageContext)This should return the absolute EPR address referenced by the named endpoint.protected EndpointLoadbalanceEndpoint. getNextChild(MessageContext synCtx)EndpointIndirectEndpoint. getRealEndpoint(MessageContext synCtx)Get the real endpointprotected voidAbstractEndpoint. handleException(String msg, Exception e, MessageContext msgCtx)Helper methods to handle errors.protected voidAbstractEndpoint. informFailure(MessageContext synCtx, int errorCode, String errorMsg)protected booleanAbstractEndpoint. isRetry(MessageContext synCtx)protected booleanAbstractEndpoint. isSuspendFault(MessageContext synCtx)Is this a fault that should put the endpoint on SUSPEND? or is this a fault to ignore?protected booleanAbstractEndpoint. isTimeout(MessageContext synCtx)Is this [fault] message a timeout?protected booleanAbstractEndpoint. 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 itprotected voidAbstractEndpoint. logOnChildEndpointFail(Endpoint endpoint, MessageContext synMessageContext)voidAbstractEndpoint. onChildEndpointFail(Endpoint endpoint, MessageContext synMessageContext)voidEndpoint. onChildEndpointFail(Endpoint endpoint, MessageContext synMessageContext)Endpoints that contain other endpoints should implement this method.voidFailoverEndpoint. onChildEndpointFail(Endpoint endpoint, MessageContext synMessageContext)voidLoadbalanceEndpoint. onChildEndpointFail(Endpoint endpoint, MessageContext synMessageContext)voidRecipientListEndpoint. onChildEndpointFail(Endpoint endpoint, MessageContext synMessageContext)voidSALoadbalanceEndpoint. onChildEndpointFail(Endpoint endpoint, MessageContext synCtx)It is logically incorrect to failover a session affinity endpoint after the session has started.voidAbstractEndpoint. onFault(MessageContext synCtx)On a fault, propagate to parent if any, or call into the fault handlervoidAddressEndpoint. onFault(MessageContext synCtx)voidDefaultEndpoint. onFault(MessageContext synCtx)voidHTTPEndpoint. onFault(MessageContext synCtx)voidWSDLEndpoint. onFault(MessageContext synCtx)protected voidAbstractEndpoint. prepareForEndpointStatistics(MessageContext synCtx)Process statistics for this messageMessageContextOAuthConfiguredHTTPEndpoint. retryCallWithNewToken(MessageContext synCtx)This method is called when we need to retry a call to the resource with a new tokenvoidAbstractEndpoint. send(MessageContext synCtx)voidAddressEndpoint. send(MessageContext synCtx)voidBasicAuthConfiguredHTTPEndpoint. send(MessageContext synCtx)voidClassEndpoint. send(MessageContext synCtx)voidDefaultEndpoint. send(MessageContext synCtx)voidDynamicLoadbalanceEndpoint. send(MessageContext synCtx)voidEndpoint. send(MessageContext synMessageContext)Sends the message context according to an endpoint specific behavior.voidFailoverEndpoint. send(MessageContext synCtx)voidHTTPEndpoint. send(MessageContext synCtx)voidIndirectEndpoint. send(MessageContext synCtx)Send by calling to the real endpointvoidLoadbalanceEndpoint. send(MessageContext synCtx)voidOAuthConfiguredHTTPEndpoint. send(MessageContext synCtx)voidRecipientListEndpoint. send(MessageContext synCtx)voidResolvingEndpoint. send(MessageContext synCtx)voidSALoadbalanceEndpoint. send(MessageContext synCtx)voidServiceDynamicLoadbalanceEndpoint. send(MessageContext synCtx)voidTemplateEndpoint. send(MessageContext synCtx)voidWSDLEndpoint. send(MessageContext synCtx)voidClassEndpoint. sendMessage(MessageContext synMessageContext)Override theAbstractEndpoint.send()to have a custom message send out logic.voidRecipientListEndpoint. sendMessage(MessageContext synCtx)voidResolvingEndpoint. sendMessage(MessageContext synCtx)Send by calling to the real endpointvoidSALoadbalanceEndpoint. sendMessage(MessageContext synCtx)voidTemplateEndpoint. sendMessage(MessageContext synCtx)protected voidDynamicLoadbalanceEndpoint. sendToApplicationMember(MessageContext synCtx, org.apache.axis2.clustering.Member currentMember, DynamicLoadbalanceFaultHandler faultHandler, boolean newSession)protected voidDynamicLoadbalanceEndpoint. setCookieHeader(MessageContext synCtx)protected voidAbstractEndpoint. setErrorOnMessage(MessageContext synCtx, Integer errorCode, String errorMsg)protected voidDynamicLoadbalanceEndpoint. setupTransportHeaders(MessageContext synCtx)Adding the X-Forwarded-For/X-Originating-IP headers to the outgoing message. -
Uses of MessageContext in org.apache.synapse.endpoints.algorithms
Methods in org.apache.synapse.endpoints.algorithms with parameters of type MessageContext Modifier and Type Method Description EndpointLoadbalanceAlgorithm. getNextEndpoint(MessageContext synapseMessageContext, AlgorithmContext algorithmContext)This method returns the next node according to the algorithm implementation.EndpointRoundRobin. getNextEndpoint(MessageContext synCtx, AlgorithmContext algorithmContext)Choose an active endpoint using the round robin algorithm.EndpointWeightedRoundRobin. getNextEndpoint(MessageContext synapseMessageContext, AlgorithmContext algorithmContext)EndpointWeightedRRLCAlgorithm. getNextEndpoint(MessageContext messageContext, AlgorithmContext algorithmContext) -
Uses of MessageContext in org.apache.synapse.endpoints.auth
Methods in org.apache.synapse.endpoints.auth with parameters of type MessageContext Modifier and Type Method Description voidAuthHandler. setAuthHeader(MessageContext messageContext)This method will set the Authorization header with the relevant auth token. -
Uses of MessageContext in org.apache.synapse.endpoints.auth.basicauth
Methods in org.apache.synapse.endpoints.auth.basicauth with parameters of type MessageContext Modifier and Type Method Description voidBasicAuthHandler. setAuthHeader(MessageContext messageContext) -
Uses of MessageContext in org.apache.synapse.endpoints.auth.oauth
Methods in org.apache.synapse.endpoints.auth.oauth that return MessageContext Modifier and Type Method Description MessageContextMessageCache. removeMessageContext(String id)Remove a MessageContext from the cache and return itMethods in org.apache.synapse.endpoints.auth.oauth with parameters of type MessageContext Modifier and Type Method Description voidMessageCache. addMessageContext(String id, MessageContext synCtx)Add a message context to the cachestatic voidOAuthUtils. append401HTTPSC(MessageContext synCtx)Method to append 401 status code to NON_ERROR_HTTP_STATUS_CODES property.protected StringAuthorizationCodeHandler. buildTokenRequestPayload(MessageContext messageContext)protected StringClientCredentialsHandler. buildTokenRequestPayload(MessageContext messageContext)protected abstract StringOAuthHandler. buildTokenRequestPayload(MessageContext messageContext)Return the request payload relevant to the OAuth handler.protected StringPasswordCredentialsHandler. buildTokenRequestPayload(MessageContext messageContext)static StringOAuthClient. generateToken(String tokenApiUrl, String payload, String credentials, MessageContext messageContext, Map<String,String> customHeaders)Method to generate the access token from an OAuth serverprotected StringOAuthHandler. getEncodedCredentials(MessageContext messageContext)Return the base 64 encoded clientId:clientSecret relevant to the OAuth handler.protected StringOAuthHandler. getRequestParametersAsString(MessageContext messageContext)Return the request parameters as a string.static StringOAuthUtils. resolveExpression(String value, MessageContext messageContext)This method evaluate the value as an expression or return the value.static booleanOAuthUtils. retryOnOAuthFailure(OAuthConfiguredHTTPEndpoint httpEndpoint, MessageContext synapseInMsgCtx, MessageContext synapseOutMsgCtx)Method to check whether retry is needed.voidOAuthHandler. setAuthHeader(MessageContext messageContext) -
Uses of MessageContext in org.apache.synapse.endpoints.dispatch
Methods in org.apache.synapse.endpoints.dispatch with parameters of type MessageContext Modifier and Type Method Description protected SessionCookieAbstractDispatcher. extractSessionCookie(MessageContext synCtx, String key)protected StringAbstractDispatcher. extractSessionID(MessageContext synCtx, String key)protected List<String>HttpSessionDispatcher. extractSessionIDs(MessageContext synCtx, String key)SessionInformationDispatcher. getSession(MessageContext synCtx)Dispatcher should check the session id pattern in the synapseMessageContext and return the matching endpoint for that session id, if available.SessionInformationHttpSessionDispatcher. getSession(MessageContext synCtx)Check if "Cookie" HTTP header is available.SessionInformationSimpleClientSessionDispatcher. getSession(MessageContext synCtx)SessionInformationSoapSessionDispatcher. getSession(MessageContext synCtx)Gives the endpoint based on the service group context ID of the request message.protected voidAbstractDispatcher. removeSessionID(MessageContext synCtx, String key)voidDispatcher. removeSessionID(MessageContext syCtx)Remove the session Id - To clear out session information from current messagevoidHttpSessionDispatcher. removeSessionID(MessageContext syCtx)voidSimpleClientSessionDispatcher. removeSessionID(MessageContext syCtx)voidSoapSessionDispatcher. removeSessionID(MessageContext syCtx)voidDispatcher. unbind(MessageContext synCtx)Removes the session belonging to the given message context.voidHttpSessionDispatcher. unbind(MessageContext synCtx)voidSimpleClientSessionDispatcher. unbind(MessageContext synCtx)voidSoapSessionDispatcher. unbind(MessageContext synCtx)voidDispatcher. updateSession(MessageContext synCtx)Updates the session maps.voidHttpSessionDispatcher. updateSession(MessageContext synCtx)Searches for "Set-Cookie" HTTP header in the message context.voidSALSessions. updateSession(MessageContext synCtx, String sessionID)Update or establish a sessionvoidSALSessions. updateSession(MessageContext synCtx, SessionCookie cookie)Update or establish a sessionvoidSimpleClientSessionDispatcher. updateSession(MessageContext synCtx)voidSoapSessionDispatcher. updateSession(MessageContext synCtx)As this is a server initiated session, this method will only be called for response messages. -
Uses of MessageContext in org.apache.synapse.eventing
Methods in org.apache.synapse.eventing with parameters of type MessageContext Modifier and Type Method Description voidSynapseEventSource. dispatchEvents(MessageContext msgCtx)Public method for event dispatching, used by the eventPublisher mediator and eventSourcebooleanSynapseEventFilter. 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 Modifier and Type Method Description booleanXPathBasedEventFilter. isSatisfied(MessageContext mc) -
Uses of MessageContext in org.apache.synapse.inbound
Methods in org.apache.synapse.inbound with parameters of type MessageContext Modifier and Type Method Description voidInboundEndpointStatisticsCloseEventListener. invokeCloseEventEntry(MessageContext synCtx)voidInboundResponseSender. sendBack(MessageContext messageContext) -
Uses of MessageContext in org.apache.synapse.mediators
Methods in org.apache.synapse.mediators that return MessageContext Modifier and Type Method Description MessageContextGetPropertyFunction. getSynCtx()Methods in org.apache.synapse.mediators with parameters of type MessageContext Modifier and Type Method Description protected voidAbstractMediator. auditLog(String msg, MessageContext msgContext)Deprecated.This method will be removed in a future version of Synapse.protected voidAbstractMediator. auditWarn(String msg, MessageContext msgContext)Deprecated.This method will be removed in a future version of Synapse.booleanAbstractMediator. divertMediationRoute(MessageContext synCtx)This method is invoked when mediation happens in debug mode, branches execution to the Debug Manager, further behavior is governed by the Debug Manager.voidMediatorProperty. evaluate(MessageContext synCtx)ObjectValue. evaluateObjectValue(MessageContext synCtx)StringValue. evaluateValue(MessageContext synCtx)Evaluating key based on message context used when key is a xpath expressionObjectValue. evalutePropertyExpression(MessageContext synCtx)StringMediatorProperty. getEvaluatedExpression(MessageContext synCtx)protected MediatorFaultHandlerAbstractMediator. getLastSequenceFaultHandler(MessageContext synCtx)protected SynapseLogAbstractMediator. getLog(MessageContext synCtx)Get a SynapseLog instance appropriate for the given context.protected voidAbstractMediator. handleException(String msg, Exception e, MessageContext msgContext)Perform an error log message to all logs @ ERROR.protected voidAbstractMediator. handleException(String msg, MessageContext msgContext)Perform an error log message to all logs @ ERROR.protected booleanAbstractMediator. isTraceOn(MessageContext msgCtx)Deprecated.This method will be removed in a future version of Synapse.booleanAbstractListMediator. mediate(MessageContext synCtx)booleanAbstractListMediator. mediate(MessageContext synCtx, int mediatorPosition)booleanFlowContinuableMediator. mediate(MessageContext synCtx, ContinuationState continuationState)Mediate the message using a ContinuationState.voidMediatorFaultHandler. onFault(MessageContext synCtx)Implements the fault handling method for the mediators (basically sequences)voidAbstractMediator. reportCloseStatistics(MessageContext messageContext, Integer currentIndex)IntegerAbstractMediator. reportOpenStatistics(MessageContext messageContext, boolean isContentAltering)ObjectValue. resolveObject(MessageContext synCtx)Resolve the object defined in the ValuevoidAbstractMediator. setEffectiveTraceState(MessageContext synCtx)This method is used to save previous tracing state and set next the tracing state for a child mediatorprotected booleanAbstractMediator. shouldCaptureTracing(MessageContext synCtx)booleanAbstractMediator. shouldTrace(MessageContext msgCtx)booleanFilterMediator. test(MessageContext synCtx)Should return true if the sub/child mediators should execute.Constructors in org.apache.synapse.mediators with parameters of type MessageContext Constructor Description 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 contextMediatorWorker(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 Modifier and Type Method Description booleanSequenceMediator. mediate(MessageContext synCtx)If this mediator refers to another named Sequence, execute that.booleanSequenceMediator. mediate(MessageContext synCtx, ContinuationState continuationState)booleanSynapseMediator. mediate(MessageContext synCtx)Perform the mediation specified by the rule setvoidSequenceMediator. reportCloseStatistics(MessageContext messageContext, Integer currentIndex)IntegerSequenceMediator. reportOpenStatistics(MessageContext messageContext, boolean isContentAltering) -
Uses of MessageContext in org.apache.synapse.mediators.bean
Methods in org.apache.synapse.mediators.bean with parameters of type MessageContext Modifier and Type Method Description voidTarget. insert(MessageContext synCtx, Object object)Inserts the given object into the target specified by the current Target object.booleanBeanMediator. mediate(MessageContext synCtx)Manipulates a JavaBean attached to the current message context according to the supplied semantics. -
Uses of MessageContext in org.apache.synapse.mediators.bean.enterprise
Methods in org.apache.synapse.mediators.bean.enterprise with parameters of type MessageContext Modifier and Type Method Description booleanEJBMediator. mediate(MessageContext synCtx)Calls an external EJB according to the supplied semantics and attaches the result into the message/message context. -
Uses of MessageContext in org.apache.synapse.mediators.builtin
Methods in org.apache.synapse.mediators.builtin with parameters of type MessageContext Modifier and Type Method Description booleanCallMediator. mediate(MessageContext synInCtx)This will call the send method on the messages with implicit message parameters or else if there is an endpoint, with that endpoint parametersbooleanCalloutMediator. mediate(MessageContext synCtx)booleanCommentMediator. mediate(MessageContext synCtx)Mediation method.booleanDropMediator. mediate(MessageContext synCtx)Halts further mediation of the current message by returning false.booleanEnqueueMediator. mediate(MessageContext synCtx)booleanForEachMediator. mediate(MessageContext synCtx)booleanJSONTransformMediator. mediate(MessageContext synCtx)booleanLogMediator. mediate(MessageContext synCtx)Logs the current message according to the supplied semanticsbooleanLoopBackMediator. mediate(MessageContext synCtx)booleanNTLMMediator. mediate(MessageContext messageContext)booleanPropertyGroupMediator. mediate(MessageContext synCtx)Sets the properties into the current (local) Synapse Context or into the Axis Message Context or into Transports Header and removes above properties from the corresponding locations.booleanPropertyMediator. 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.booleanRespondMediator. mediate(MessageContext synCtx)booleanSendMediator. 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 parametersbooleanValidateMediator. mediate(MessageContext synCtx)booleanValidateMediator. mediate(MessageContext synCtx, ContinuationState continuationState)voidCallMediator. postMediate(MessageContext response, String originalMessageType, String originalContentType, Map originalTransportHeaders)voidCommentMediator. reportCloseStatistics(MessageContext messageContext, Integer currentIndex)voidPropertyMediator. reportCloseStatistics(MessageContext messageContext, Integer currentIndex)IntegerCommentMediator. reportOpenStatistics(MessageContext synCtx, boolean isContentAltering) -
Uses of MessageContext in org.apache.synapse.mediators.db
Methods in org.apache.synapse.mediators.db with parameters of type MessageContext Modifier and Type Method Description protected PreparedStatementAbstractDBMediator. getPreparedStatement(Statement stmnt, Connection con, MessageContext msgCtx)Return a Prepared statement for the given Statement object, which is ready to be executedbooleanAbstractDBMediator. mediate(MessageContext synCtx)Process each SQL statement against the current messageprotected abstract voidAbstractDBMediator. processStatement(Statement query, MessageContext msgCtx)Subclasses must specify how each SQL statement is processedprotected voidDBLookupMediator. processStatement(Statement stmnt, MessageContext msgCtx)protected voidDBReportMediator. 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 Modifier and Type Method Description static voidEIPUtils. createSynapseEIPTemplateProperty(MessageContext synCtxt, String templateName, String paramName, Object value)static voidEIPUtils. enrichEnvelope(org.apache.axiom.soap.SOAPEnvelope envelope, org.apache.axiom.soap.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 secondstatic voidEIPUtils. enrichEnvelope(org.apache.axiom.soap.SOAPEnvelope envelope, MessageContext synCtxt, SynapseXPath expression)Modifies the envelope based on the provided XPath expression element that enriches the first envelope from the secondstatic List<org.apache.axiom.om.OMNode>EIPUtils. getDetachedMatchingElements(org.apache.axiom.soap.SOAPEnvelope envelope, MessageContext synCtxt, SynapseXPath expression)Return the set of detached elements specified by the XPath over the given envelopestatic com.google.gson.JsonElementEIPUtils. getJSONElement(MessageContext messageContext, SynapseJsonPath jsonPath)Evaluate JSON path and retrieve the result as JsonElement.static com.google.gson.JsonElementEIPUtils. getJSONObjectAsElement(MessageContext messageContext, SynapseJsonPath jsonPath)Evaluate JSON path and retrieve the result as JsonElement while checking if the evaluated results are nothing other than JSON objects.static ListEIPUtils. getMatchingElements(org.apache.axiom.soap.SOAPEnvelope envelope, MessageContext synCtxt, SynapseXPath expression)Return the set of elements specified by the XPath over the given envelopebooleanTarget. 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 MessageContext Modifier and Type Method Description MessageContextAggregate. getLastMessage()Methods in org.apache.synapse.mediators.eip.aggregator that return types with arguments of type MessageContext Modifier and Type Method Description List<MessageContext>Aggregate. getMessages()Methods in org.apache.synapse.mediators.eip.aggregator with parameters of type MessageContext Modifier and Type Method Description booleanAggregate. addMessage(MessageContext synCtx)Add a message to the interlan message listbooleanAggregateMediator. mediate(MessageContext synCtx)Aggregate messages flowing through this mediator according to the correlation criteria and the aggregation algorithm specified to itbooleanAggregateMediator. mediate(MessageContext synCtx, ContinuationState contState)IntegerAggregateMediator. reportOpenStatistics(MessageContext messageContext, boolean isContentAltering)Method parameters in org.apache.synapse.mediators.eip.aggregator with type arguments of type MessageContext Modifier and Type Method Description voidAggregate. 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 Modifier and Type Method Description MessageContextMessageQueue. get()MessageContextUnboundedMessageQueue. get()Methods in org.apache.synapse.mediators.eip.sample with parameters of type MessageContext Modifier and Type Method Description voidMessageQueue. add(MessageContext synCtx)voidUnboundedMessageQueue. add(MessageContext synCtx)booleanSamplingThrottleMediator. 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 Modifier and Type Method Description booleanCloneMediator. 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 mediationbooleanCloneMediator. mediate(MessageContext synCtx, ContinuationState continuationState)booleanIterateMediator. mediate(MessageContext synCtx)Splits the message by iterating over the results of the given Path expressionbooleanIterateMediator. mediate(MessageContext synCtx, ContinuationState continuationState)IntegerCloneMediator. reportOpenStatistics(MessageContext messageContext, boolean isContentAltering)IntegerIterateMediator. reportOpenStatistics(MessageContext messageContext, boolean isContentAltering) -
Uses of MessageContext in org.apache.synapse.mediators.elementary
Methods in org.apache.synapse.mediators.elementary with parameters of type MessageContext Modifier and Type Method Description ArrayList<org.apache.axiom.om.OMNode>Source. evaluate(MessageContext synCtx, SynapseLog synLog)com.google.gson.JsonElementSource. evaluateJson(MessageContext synCtx, SynapseLog synLog, com.google.gson.JsonElement sourcePropertyJson)This method will evaluate a specified source json element.voidTarget. insert(MessageContext synContext, ArrayList<org.apache.axiom.om.OMNode> sourceNodeList, SynapseLog synLog)voidTarget. insertJson(MessageContext synCtx, Object sourceJsonElement, SynapseLog synLog)This method will insert a provided json element to a specified target.booleanEnrichMediator. mediate(MessageContext synCtx)voidTarget. removeJsonFromBody(MessageContext synCtx, SynapsePath jsonPath)This method will remove all the matching elements of the given jsonPath from the JSON payload in the msg context.voidTarget. removeJsonFromProperty(MessageContext synCtx, String property, SynapsePath jsonPath)This method will remove all the matching elements of the given jsonPath from the JSON payload in the property and set the result back to the same property.voidTarget. renameKey(MessageContext synapseContext, String jsonPath, String keyName, String newKeyName)Renames a json key name at the specified json path with a new key namevoidTarget. setProperty(String scope, MessageContext messageContext, Object documentElement)Sets the property value in appropriate message context -
Uses of MessageContext in org.apache.synapse.mediators.eventing
Methods in org.apache.synapse.mediators.eventing with parameters of type MessageContext Modifier and Type Method Description booleanEventPublisherMediator. mediate(MessageContext synCtx) -
Uses of MessageContext in org.apache.synapse.mediators.ext
Methods in org.apache.synapse.mediators.ext with parameters of type MessageContext Modifier and Type Method Description booleanAnnotatedCommandMediator. mediate(MessageContext synCtx)booleanClassMediator. mediate(MessageContext synCtx)Don't use a new instance...booleanPOJOCommandMediator. 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 Modifier and Type Method Description booleanFilterMediator. mediate(MessageContext synCtx)Executes the list of sub/child mediators, if the filter condition is satisfiedbooleanFilterMediator. mediate(MessageContext synCtx, ContinuationState continuationState)booleanInMediator. mediate(MessageContext synCtx)Executes the list of sub/child mediators, if the filter condition is satisfiedbooleanInMediator. mediate(MessageContext synCtx, ContinuationState continuationState)booleanOutMediator. mediate(MessageContext synCtx)Executes the list of sub/child mediators, if the filter condition is satisfiedbooleanOutMediator. mediate(MessageContext synCtx, ContinuationState continuationState)booleanSwitchMediator. mediate(MessageContext synCtx)Iterate over switch cases and find match and execute selected sequencebooleanSwitchMediator. mediate(MessageContext synCtx, ContinuationState continuationState)IntegerInMediator. reportOpenStatistics(MessageContext messageContext, boolean isContentAltering)IntegerOutMediator. reportOpenStatistics(MessageContext messageContext, boolean isContentAltering)booleanFilterMediator. test(MessageContext synCtx)Tests the supplied condition after evaluation against the given XPath or Regex (against a source XPath).booleanInMediator. test(MessageContext synCtx)Apply mediation only on request messagesbooleanOutMediator. 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 Modifier and Type Method Description booleanConditionalRouterMediator. mediate(MessageContext synCtx) -
Uses of MessageContext in org.apache.synapse.mediators.store
Methods in org.apache.synapse.mediators.store with parameters of type MessageContext Modifier and Type Method Description booleanMessageStoreMediator. mediate(MessageContext synCtx) -
Uses of MessageContext in org.apache.synapse.mediators.template
Methods in org.apache.synapse.mediators.template with parameters of type MessageContext Modifier and Type Method Description booleanInvokeMediator. mediate(MessageContext synCtx)booleanInvokeMediator. mediate(MessageContext synCtx, ContinuationState continuationState)booleanTemplateMediator. mediate(MessageContext synCtx)voidTemplateMediator. popFuncContextFrom(MessageContext synCtx)voidTemplateContext. 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.transaction
Methods in org.apache.synapse.mediators.transaction with parameters of type MessageContext Modifier and Type Method Description booleanTransactionMediator. mediate(MessageContext synCtx) -
Uses of MessageContext in org.apache.synapse.mediators.transform
Methods in org.apache.synapse.mediators.transform with parameters of type MessageContext Modifier and Type Method Description booleanFaultMediator. mediate(MessageContext synCtx)booleanHeaderMediator. mediate(MessageContext synCtx)Sets/Removes a SOAP header on the current messagebooleanPayloadFactoryMediator. mediate(MessageContext synCtx)Contains 2 paths - one when JSON Streaming is in use (mediateJsonStreamPayload) and the other for regular builders (mediatePayload).booleanXSLTMediator. 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.pfutils
Methods in org.apache.synapse.mediators.transform.pfutils with parameters of type MessageContext Modifier and Type Method Description protected HashMap<String,ArgumentDetails>[]TemplateProcessor. getArgValues(String mediaType, MessageContext synCtx)Goes through SynapsePath argument list, evaluating each by calling stringValueOf and returns a HashMap String, String array where each item will contain a hash map with key "evaluated expression" and value "SynapsePath type".protected StringTemplateProcessor. prepareReplacementValue(String mediaType, MessageContext synCtx, Map.Entry<String,ArgumentDetails> replacementEntry)Preprocess and converty types of the given arg value.StringFreeMarkerTemplateProcessor. processTemplate(String template, String mediaType, MessageContext messageContext)StringRegexTemplateProcessor. processTemplate(String template, String mediaType, MessageContext synCtx)abstract StringTemplateProcessor. processTemplate(String template, String mediaType, MessageContext synCtx)Process the given template and return the output as String -
Uses of MessageContext in org.apache.synapse.mediators.transform.url
Methods in org.apache.synapse.mediators.transform.url with parameters of type MessageContext Modifier and Type Method Description voidRewriteAction. execute(URIFragments fragments, MessageContext messageContext)booleanURLRewriteMediator. mediate(MessageContext messageContext)voidRewriteRule. rewrite(URIFragments fragments, MessageContext messageContext) -
Uses of MessageContext in org.apache.synapse.message
Methods in org.apache.synapse.message that return MessageContext Modifier and Type Method Description MessageContextMessageConsumer. receive()Receives the next message from the store.Methods in org.apache.synapse.message with parameters of type MessageContext Modifier and Type Method Description booleanMessageProducer. storeMessage(MessageContext synCtx)Stores the given message to the store associated with this message consumer. -
Uses of MessageContext in org.apache.synapse.message.processor
Methods in org.apache.synapse.message.processor that return MessageContext Modifier and Type Method Description MessageContextService. fetch(MessageConsumer msgConsumer)This method has the responsibility of fetching message from the message store.Methods in org.apache.synapse.message.processor with parameters of type MessageContext Modifier and Type Method Description booleanService. dispatch(MessageContext msgCtx)This has the responsibility of dispatching the fetched message from the message store to the client.static voidMessageProcessorUtils. removeStatisticsReportingEventHolder(MessageContext messageContext)Since the request stored in the store and consumed by the processor are considered as separate requests we need to remove the existing StatisticsReportingEventHolder object -
Uses of MessageContext in org.apache.synapse.message.processor.impl.failover
Methods in org.apache.synapse.message.processor.impl.failover that return MessageContext Modifier and Type Method Description MessageContextFailoverForwardingService. fetch(MessageConsumer msgConsumer)Receives the next message from the message store.Methods in org.apache.synapse.message.processor.impl.failover with parameters of type MessageContext Modifier and Type Method Description voidFailoverForwardingService. dispatch(MessageContext messageContext)Sends the message to a given message store.voidFailoverForwardingService. sendThroughDeactivateSeq(MessageContext msgCtx)Sending the out message through the deactivate sequence.voidFailoverForwardingService. sendThroughFaultSeq(MessageContext msgCtx)Sending the out message through the fault sequence. -
Uses of MessageContext in org.apache.synapse.message.processor.impl.forwarder
Methods in org.apache.synapse.message.processor.impl.forwarder that return MessageContext Modifier and Type Method Description MessageContextForwardingService. fetch()Receives the next message from the message store.Methods in org.apache.synapse.message.processor.impl.forwarder with parameters of type MessageContext Modifier and Type Method Description voidForwardingService. dispatch(MessageContext messageContext)Sends the message to a given endpoint.voidForwardingService. sendThroughDeactivateSeq(MessageContext msgCtx)Sending the out message through the deactivate sequence.voidForwardingService. sendThroughFaultSeq(MessageContext msgCtx)Sending the out message through the fault sequence.booleanForwardingService. sendThroughReplySeq(MessageContext outCtx)Sending the out message through the reply sequence. -
Uses of MessageContext in org.apache.synapse.message.processor.impl.sampler
Methods in org.apache.synapse.message.processor.impl.sampler that return MessageContext Modifier and Type Method Description MessageContextSamplingService. fetch()Receives the next message from the message store.Methods in org.apache.synapse.message.processor.impl.sampler with parameters of type MessageContext Modifier and Type Method Description voidSamplingService. dispatch(MessageContext messageContext)Sends the message to a given sequence. -
Uses of MessageContext in org.apache.synapse.message.senders.blocking
Methods in org.apache.synapse.message.senders.blocking that return MessageContext Modifier and Type Method Description MessageContextBlockingMsgSender. send(Endpoint endpoint, MessageContext synapseInMsgCtx)Methods in org.apache.synapse.message.senders.blocking with parameters of type MessageContext Modifier and Type Method Description static voidBlockingMsgSenderUtils. fillClientOptions(EndpointDefinition endpoint, org.apache.axis2.client.Options clientOptions, MessageContext synapseInMsgCtx)Fill client options extracting properties from the original message context and endpoint definitionstatic voidBlockingMsgSenderUtils. fillMessageContext(EndpointDefinition endpoint, org.apache.axis2.context.MessageContext axisOutMsgCtx, MessageContext synapseInMsgCtx)Fill the target message context extracting the required properties of the original message context and the endpointvoidBlockingMsgSender. send(EndpointDefinition endpointDefinition, MessageContext synapseInMsgCtx)Blocking InvocationMessageContextBlockingMsgSender. send(Endpoint endpoint, MessageContext synapseInMsgCtx) -
Uses of MessageContext in org.apache.synapse.message.store
Methods in org.apache.synapse.message.store that return MessageContext Modifier and Type Method Description MessageContextMessageStore. get(int index)Return the Message in given index position (this may depend on the implementation)MessageContextMessageStore. get(String messageId)Get the Message with the given ID from the Message store without removing itMessageContextMessageStore. remove()Retrieves and removes the first Message in this store.MessageContextMessageStore. remove(String messageID)Delete and return the MessageContext with given Message idMethods in org.apache.synapse.message.store that return types with arguments of type MessageContext Modifier and Type Method Description List<MessageContext>MessageStore. getAll()Get the All messages in the Message store without removing them from the queue -
Uses of MessageContext in org.apache.synapse.message.store.impl.commons
Methods in org.apache.synapse.message.store.impl.commons that return MessageContext Modifier and Type Method Description static MessageContextMessageConverter. toMessageContext(StorableMessage message, org.apache.axis2.context.MessageContext axis2Ctx, MessageContext synCtx)Converts a message read from the message store to a Synapse Message Context object.Methods in org.apache.synapse.message.store.impl.commons with parameters of type MessageContext Modifier and Type Method Description static MessageContextMessageConverter. toMessageContext(StorableMessage message, org.apache.axis2.context.MessageContext axis2Ctx, MessageContext synCtx)Converts a message read from the message store to a Synapse Message Context object.static StorableMessageMessageConverter. toStorableMessage(MessageContext synCtx)Converts a Synapse Message Context to a representation that can be stored in the Message store queue. -
Uses of MessageContext in org.apache.synapse.message.store.impl.jdbc
Methods in org.apache.synapse.message.store.impl.jdbc that return MessageContext Modifier and Type Method Description protected MessageContextJDBCMessageStore. deserializeMessage(byte[] msgObj)Will convert the byte[] message to store-able message.MessageContextJDBCMessageStore. get(int position)Get the message at given position Only can be done with MYSQL, and no use-case in current implementationMessageContextJDBCMessageStore. get(String msgId)Return the first element with given msg_idMessageContextJDBCMessageStore. peek()Select and return the first element in current tableMessageContextJDBCConsumer. receive()Select and return the first element in current tableMessageContextJDBCMessageStore. remove()Removes the first element from tableMessageContextJDBCMessageStore. remove(String msgId)Remove the message with given msg_idMethods in org.apache.synapse.message.store.impl.jdbc that return types with arguments of type MessageContext Modifier and Type Method Description List<MessageContext>JDBCMessageStore. getAll()Get all messages in the tableMethods in org.apache.synapse.message.store.impl.jdbc with parameters of type MessageContext Modifier and Type Method Description protected StatementJDBCMessageStore. getStoreMessageStatement(MessageContext messageContext, Long sequenceId)Generates the statement to store message in database.booleanJDBCMessageStore. store(MessageContext messageContext)Add a message to the end of the table.booleanJDBCProducer. storeMessage(MessageContext synCtx)Add a message to the end of the table. -
Uses of MessageContext in org.apache.synapse.message.store.impl.jms
Methods in org.apache.synapse.message.store.impl.jms that return MessageContext Modifier and Type Method Description MessageContextJmsStore. get(int index)MessageContextJmsStore. get(String messageId)MessageContextJmsStore. newSynapseMc(org.apache.axis2.context.MessageContext msgCtx)MessageContextJmsConsumer. receive()MessageContextJmsStore. remove()JMS Message store does not support following operations.MessageContextJmsStore. remove(String messageID)Methods in org.apache.synapse.message.store.impl.jms that return types with arguments of type MessageContext Modifier and Type Method Description List<MessageContext>JmsStore. getAll()Methods in org.apache.synapse.message.store.impl.jms with parameters of type MessageContext Modifier and Type Method Description booleanJmsProducer. storeMessage(MessageContext synCtx) -
Uses of MessageContext in org.apache.synapse.message.store.impl.memory
Methods in org.apache.synapse.message.store.impl.memory that return MessageContext Modifier and Type Method Description MessageContextInMemoryStore. get(int index)MessageContextInMemoryStore. get(String messageId)MessageContextInMemoryConsumer. receive()MessageContextInMemoryStore. remove()MessageContextInMemoryStore. remove(String messageID)Methods in org.apache.synapse.message.store.impl.memory that return types with arguments of type MessageContext Modifier and Type Method Description List<MessageContext>InMemoryStore. getAll()Methods in org.apache.synapse.message.store.impl.memory with parameters of type MessageContext Modifier and Type Method Description booleanInMemoryProducer. storeMessage(MessageContext synCtx)Method parameters in org.apache.synapse.message.store.impl.memory with type arguments of type MessageContext Modifier and Type Method Description InMemoryConsumerInMemoryConsumer. setDestination(Queue<MessageContext> queue)InMemoryProducerInMemoryProducer. setDestination(Queue<MessageContext> queue) -
Uses of MessageContext in org.apache.synapse.message.store.impl.rabbitmq
Methods in org.apache.synapse.message.store.impl.rabbitmq that return MessageContext Modifier and Type Method Description MessageContextRabbitMQStore. get(int index)MessageContextRabbitMQStore. get(String messageId)MessageContextRabbitMQStore. newSynapseMc(org.apache.axis2.context.MessageContext msgCtx)MessageContextRabbitMQConsumer. receive()Get a single message from the queue and deserialize for set into the message contextMessageContextRabbitMQStore. remove()MessageContextRabbitMQStore. remove(String messageID)Methods in org.apache.synapse.message.store.impl.rabbitmq that return types with arguments of type MessageContext Modifier and Type Method Description List<MessageContext>RabbitMQStore. getAll()Methods in org.apache.synapse.message.store.impl.rabbitmq with parameters of type MessageContext Modifier and Type Method Description booleanRabbitMQProducer. storeMessage(MessageContext synCtx)Store the given message into the queue and return whether the operation success or not -
Uses of MessageContext in org.apache.synapse.message.store.impl.resequencer
Methods in org.apache.synapse.message.store.impl.resequencer that return MessageContext Modifier and Type Method Description MessageContextResequenceMessageStore. peek()Select and return the first element in current tableMethods in org.apache.synapse.message.store.impl.resequencer with parameters of type MessageContext Modifier and Type Method Description protected StatementResequenceMessageStore. getStoreMessageStatement(MessageContext context, Long sequenceId)Stores message in database by providing the correct sequence id. -
Uses of MessageContext in org.apache.synapse.rest
Methods in org.apache.synapse.rest with parameters of type MessageContext Modifier and Type Method Description static StringRESTUtils. getFullRequestPath(MessageContext synCtx)Deprecated.Replaced byApiUtils.getFullRequestPath(MessageContext)static StringRESTUtils. getSubRequestPath(MessageContext synCtx)Deprecated.Replaced byApiUtils.getSubRequestPath(MessageContext)booleanHandler. handleRequest(MessageContext messageContext)booleanHandler. handleResponse(MessageContext messageContext)static voidRESTUtils. populateQueryParamsToMessageContext(MessageContext synCtx)Deprecated.booleanRESTRequestHandler. process(MessageContext synCtx)Deprecated.Attempt to process the given message through one of the available APIs. -
Uses of MessageContext in org.apache.synapse.util
Methods in org.apache.synapse.util that return MessageContext Modifier and Type Method Description static MessageContextMessageHelper. cloneMessageContext(MessageContext synCtx)This method does exactly whatMessageHelper.cloneMessageContext(MessageContext)does, other than cloning the SOAP envelop based on thecloneSOAPEnvelopeargument.static MessageContextMessageHelper. cloneMessageContext(MessageContext synCtx, boolean cloneSoapEnvelope)static MessageContextMessageHelper. cloneMessageContext(MessageContext synCtx, boolean cloneSoapEnvelope, boolean isCloneJson)This method is similar toMessageHelper.cloneMessageContext(MessageContext, boolean, boolean, boolean, boolean)In order to refactor the code, new method signature was created and this method calls the new methodstatic MessageContextMessageHelper. cloneMessageContext(MessageContext synCtx, boolean cloneSoapEnvelope, boolean isCloneJson, boolean isAggregate)This method is similar toMessageHelper.cloneMessageContext(MessageContext, boolean, boolean, boolean, boolean)other than always generating seperate correlation ids for the cloned message contextsstatic MessageContextMessageHelper. cloneMessageContext(MessageContext synCtx, boolean cloneSoapEnvelope, boolean isCloneJson, boolean isAggregate, boolean isCloneCorrelationId)This method will simulate cloning the message context and creating an exact copy of the passed message.static MessageContextMessageHelper. cloneMessageContextForAggregateMediator(MessageContext synCtx)Deprecated.Methods in org.apache.synapse.util with parameters of type MessageContext Modifier and Type Method Description static voidCallMediatorEnrichUtil. buildMessage(MessageContext synCtx)static MessageContextMessageHelper. cloneMessageContext(MessageContext synCtx)This method does exactly whatMessageHelper.cloneMessageContext(MessageContext)does, other than cloning the SOAP envelop based on thecloneSOAPEnvelopeargument.static MessageContextMessageHelper. cloneMessageContext(MessageContext synCtx, boolean cloneSoapEnvelope)static MessageContextMessageHelper. cloneMessageContext(MessageContext synCtx, boolean cloneSoapEnvelope, boolean isCloneJson)This method is similar toMessageHelper.cloneMessageContext(MessageContext, boolean, boolean, boolean, boolean)In order to refactor the code, new method signature was created and this method calls the new methodstatic MessageContextMessageHelper. cloneMessageContext(MessageContext synCtx, boolean cloneSoapEnvelope, boolean isCloneJson, boolean isAggregate)This method is similar toMessageHelper.cloneMessageContext(MessageContext, boolean, boolean, boolean, boolean)other than always generating seperate correlation ids for the cloned message contextsstatic MessageContextMessageHelper. cloneMessageContext(MessageContext synCtx, boolean cloneSoapEnvelope, boolean isCloneJson, boolean isAggregate, boolean isCloneCorrelationId)This method will simulate cloning the message context and creating an exact copy of the passed message.static MessageContextMessageHelper. cloneMessageContextForAggregateMediator(MessageContext synCtx)Deprecated.static voidConcurrencyThrottlingUtils. decrementConcurrencyThrottleAccessController(MessageContext synCtx)Decrement the internal counter for concurrency throttling, in case of normal response retrieval, delayed response at synapse timeout, exceptional cases while mediation end up trigger fault.static voidCallMediatorEnrichUtil. doEnrich(MessageContext synCtx, Source source, Target target, String sourceContentType)static DataHandlerPayloadHelper. getBinaryPayload(MessageContext mc)static StringInlineExpressionUtil. getDynamicValue(MessageContext messageContext, String expression)Get dynamic value for the expressionstatic SynapseLogCallMediatorEnrichUtil. getLog(MessageContext synCtx)static SimpleMapPayloadHelper. getMapPayload(MessageContext mc)static intPayloadHelper. getPayloadType(MessageContext mc)static org.apache.neethi.PolicyMessageHelper. getPolicy(MessageContext synCtx, String propertyKey)Get the Policy object for the given name from the Synapse configuration at runtimestatic XMLStreamReaderPayloadHelper. getStAXPayload(MessageContext mc)static StringPayloadHelper. getTextPayload(MessageContext mc)static voidCallMediatorEnrichUtil. handleException(String msg, Exception e, MessageContext msgContext)static voidCallMediatorEnrichUtil. handleException(String msg, MessageContext msgContext)static voidCallMediatorEnrichUtil. preservetransportHeaders(MessageContext synMsgCtx, Map originalTransportHeaders)static StringInlineExpressionUtil. replaceDynamicValues(MessageContext messageContext, String inlineText)Replaces Dynamic Values represented by expressions in inline textstatic StringInlineExpressionUtil. replaceDynamicValuesForJSONPath(MessageContext messageContext, String inlineText)Replaces Dynamic Values represented by expressions inside json-eval.static voidMediatorPropertyUtils. serializeOMElement(MessageContext msgCtx)This method just serializes the OMElement, when setting a message type, we need to serialize to access the inner element.static voidPayloadHelper. setBinaryPayload(MessageContext mc, DataHandler dh)static voidCallMediatorEnrichUtil. setContentType(MessageContext synCtx, String targetMessageType, String targetContentType)static voidPayloadHelper. setMapPayload(MessageContext mc, SimpleMap map)static voidPayloadHelper. setStAXPayload(MessageContext mc, XMLStreamReader streamReader)static voidPayloadHelper. setTextPayload(MessageContext mc, String text)static voidMessageHelper. setWireLogHolderProperties(MessageContext synCtx, boolean isBreakPoint, SynapseMediationFlowPoint mediationFlowPoint)This method is to set mediatorId property to axis2 message context.static voidPayloadHelper. setXMLPayload(MessageContext mc, org.apache.axiom.om.OMElement element)static voidMediatorPropertyUtils. updateSendToUrlForMockServices(EndpointDefinition endpoint, MessageContext synapseOutMessageContext, org.apache.axis2.context.MessageContext axisOutMsgCtx)Updates the message context To address with mock URL if mock service exists in unit test mode. -
Uses of MessageContext in org.apache.synapse.util.jaxp
Constructors in org.apache.synapse.util.jaxp with parameters of type MessageContext Constructor Description SchemaResourceResolver(SynapseConfiguration synCfg, ResourceMap resourceMap, MessageContext messageContext) -
Uses of MessageContext in org.apache.synapse.util.logging
Methods in org.apache.synapse.util.logging with parameters of type MessageContext Modifier and Type Method Description static StringLoggingUtils. getFormattedLog(MessageContext synCtx, Object msg) -
Uses of MessageContext in org.apache.synapse.util.resolver
Methods in org.apache.synapse.util.resolver with parameters of type MessageContext Modifier and Type Method Description InputSourceResourceMap. resolve(SynapseConfiguration synCfg, String location, MessageContext messageContext)Resolve a resource for a given location.voidCustomJAXPURIResolver. setMessageContext(MessageContext messageContext) -
Uses of MessageContext in org.apache.synapse.util.xpath
Methods in org.apache.synapse.util.xpath with parameters of type MessageContext Modifier and Type Method Description booleanSynapseJsonPath. booleanValueOf(MessageContext synCtx)This method will return the boolean value of the jsonpath.ObjectSynapseXPath. 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).StringSynapseXPath. evaluateDOMXPath(MessageContext synCtx)org.apache.axiom.om.OMNodeSourceXPathSupport. selectOMNode(MessageContext synCtx, SynapseLog synLog)Get the first node selected by the configured XPath expression.StringSynapseJsonPath. stringValueOf(MessageContext synCtx)StringSynapseXPath. stringValueOf(MessageContext synCtx)Evaluates the XPath expression against the MessageContext of the current message and returns a String representation of the resultConstructors in org.apache.synapse.util.xpath with parameters of type MessageContext Constructor Description DOMSynapseXPathVariableResolver(org.jaxen.VariableContext parentVariableContext, MessageContext synCtx)GetPropertyFunctionResolver(MessageContext synCtx)SynapseXPathFunctionContext(org.jaxen.FunctionContext parent, MessageContext synCtx)Initialises the function contextSynapseXPathVariableContext(org.jaxen.VariableContext parent, MessageContext synCtx)Initializes theSynapseVariableContextwith the specified contextSynapseXPathVariableContext(org.jaxen.VariableContext parent, MessageContext synCtx, org.apache.axiom.soap.SOAPEnvelope env)Initializes theSynapseVariableContextwith 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 Modifier and Type Method Description static org.jaxen.FunctionXpathExtensionUtil. getFunctionContext(MessageContext ctxt, String namespaceURI, String prefix, String localName)Returns a Function Context extension registered for given QName/namespaceURI+prefix+localName combinationorg.jaxen.FunctionSynapseXpathFunctionContextProvider. 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.ObjectSynapseXpathVariableResolver. resolve(MessageContext msgCtxt)This method should implement the resolving code for custom xpath variable for the registered QName given by #getResolvingQName().static ObjectXpathExtensionUtil. 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
-