public class MultitenantMessageReceiver extends Object implements org.apache.axis2.engine.MessageReceiver
Constructor and Description |
---|
MultitenantMessageReceiver() |
Modifier and Type | Method and Description |
---|---|
void |
doNhttpREST(org.apache.axis2.context.MessageContext mainInMsgContext,
String to,
String tenant,
org.apache.axis2.context.ConfigurationContext tenantConfigCtx,
String servicePart)
Process a REST message coming in from the NHTTP transport.
|
static org.apache.axis2.addressing.EndpointReference |
getDestinationEPR(org.apache.axis2.context.MessageContext msgContext)
Get the EPR for the message passed in
|
void |
receive(org.apache.axis2.context.MessageContext mainInMsgContext) |
public void receive(org.apache.axis2.context.MessageContext mainInMsgContext) throws org.apache.axis2.AxisFault
receive
in interface org.apache.axis2.engine.MessageReceiver
org.apache.axis2.AxisFault
public void doNhttpREST(org.apache.axis2.context.MessageContext mainInMsgContext, String to, String tenant, org.apache.axis2.context.ConfigurationContext tenantConfigCtx, String servicePart) throws org.apache.axis2.AxisFault
mainInMsgContext
- supertenant's MessageContextto
- the full transport urltenant
- name of the tenanttenantConfigCtx
- tenant ConfigurationContextservicePart
- the part of the to url after the serviceorg.apache.axis2.AxisFault
- if an error occcuspublic static org.apache.axis2.addressing.EndpointReference getDestinationEPR(org.apache.axis2.context.MessageContext msgContext)
msgContext
- the message contextCopyright © 2016 WSO2 Inc. All rights reserved.