public class ConnectorUtils extends Object
Constructor and Description |
---|
ConnectorUtils() |
Modifier and Type | Method and Description |
---|---|
static Configuration |
getPoolConfiguration(org.apache.synapse.MessageContext messageContext)
Get pool configuration from template parameters
|
static Object |
lookupTemplateParamater(org.apache.synapse.MessageContext ctxt,
int index) |
static Object |
lookupTemplateParamater(org.apache.synapse.MessageContext ctxt,
String paramName) |
static String |
sendPost(String postData,
Charset charset,
org.apache.synapse.MessageContext messageContext) |
public static Object lookupTemplateParamater(org.apache.synapse.MessageContext ctxt, String paramName)
public static Object lookupTemplateParamater(org.apache.synapse.MessageContext ctxt, int index)
public static Configuration getPoolConfiguration(org.apache.synapse.MessageContext messageContext)
messageContext
- Message Contextpublic static String sendPost(String postData, Charset charset, org.apache.synapse.MessageContext messageContext) throws IOException, ConnectException
IOException
ConnectException
Copyright © 2021 WSO2. All rights reserved.