Class CallMediatorEnrichUtil


  • public class CallMediatorEnrichUtil
    extends Object
    • Constructor Detail

      • CallMediatorEnrichUtil

        public CallMediatorEnrichUtil()
    • Method Detail

      • convertTypeToInt

        public static int convertTypeToInt​(String type)
      • enrichTextToBody

        public static void enrichTextToBody​(org.apache.axis2.context.MessageContext axis2MessageContext,
                                            String content)
      • getJsonElement

        public static com.google.gson.JsonElement getJsonElement​(Object sourceProperty,
                                                                 com.google.gson.JsonParser jsonParser)
      • preservetransportHeaders

        public static void preservetransportHeaders​(MessageContext synMsgCtx,
                                                    Map originalTransportHeaders)
      • setContentType

        public static void setContentType​(MessageContext synCtx,
                                          String targetMessageType,
                                          String targetContentType)
      • handleTransportHeaders

        public static void handleTransportHeaders​(Object resultValue,
                                                  org.apache.axis2.context.MessageContext axis2MessageCtx)
      • buildMessage

        public static void buildMessage​(MessageContext synCtx)
      • createSourceWithProperty

        public static Source createSourceWithProperty​(String propertyName)
      • createSourceWithBody

        public static Source createSourceWithBody()
      • createTargetWithProperty

        public static Target createTargetWithProperty​(String propertyName)
      • createTargetWithBody

        public static Target createTargetWithBody()