public class MediatorPropertyUtils
extends java.lang.Object
Constructor and Description |
---|
MediatorPropertyUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
handleSpecialProperties(java.lang.String propertyName,
java.lang.Object resultValue,
org.apache.axis2.context.MessageContext axis2MessageCtx)
This method removes the current content-type header value from the Axis2 message context and
set the given value.
|
static void |
serializeOMElement(MessageContext msgCtx)
This method just serializes the OMElement, when setting a message type, we need to serialize to access the
inner element.
|
public static void handleSpecialProperties(java.lang.String propertyName, java.lang.Object resultValue, org.apache.axis2.context.MessageContext axis2MessageCtx)
propertyName
- Message type propertyresultValue
- Value to be setaxis2MessageCtx
- Axis2 message contextpublic static void serializeOMElement(MessageContext msgCtx) throws javax.xml.stream.XMLStreamException
msgCtx
- Synapse MessageContextjavax.xml.stream.XMLStreamException
Copyright © 2005-2020 Apache Software Foundation. All Rights Reserved.