synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkatesan, Kumaran" <>
Subject Custom mediator - Not able to get HttpServletRequest
Date Tue, 15 Jan 2008 06:24:42 GMT

We have planned to use the synapse as mediation layer for our service
based architecture.

There is a requirement to get the handle of the HttpServletRequest
object under the custom mediator( to tackle the
session management.

Have tried the below but giving null value for the "HttpServletRequest"

public class SessionMediator implements Mediator {

    private static final Log log =

    public SessionMediator(){}

    public boolean mediate(MessageContext mc) {
    	Axis2MessageContext axis2mc = (Axis2MessageContext)mc;
    	org.apache.axis2.context.MessageContext axis2MessageCtx =
    	HttpServletRequest request =

Pls help how to get the "HttpServletRequest"

With Regards

This email is confidential. If you are not the addressee tell the sender immediately and destroy
this email
without using, sending or storing it. Emails are not secure and may suffer errors, viruses,
interception and amendment. Standard Chartered PLC and subsidiaries ("SCGroup") do not accept
liability for
damage caused by this email and may monitor email traffic.

View raw message