@Converter(generateLoader=true) public final class CxfConverter extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
convertTo(Class<T> type,
org.apache.camel.Exchange exchange,
Object value,
org.apache.camel.spi.TypeConverterRegistry registry)
Use a fallback type converter so we can convert the embedded list element if the value is MessageContentsList.
|
static InputStream |
soapMessageToInputStream(SOAPMessage soapMessage,
org.apache.camel.Exchange exchange) |
static String |
soapMessageToString(SOAPMessage soapMessage,
org.apache.camel.Exchange exchange) |
static Object[] |
toArray(Object object) |
static DataFormat |
toDataFormat(String name) |
static InputStream |
toInputStream(javax.ws.rs.core.Response response,
org.apache.camel.Exchange exchange) |
static org.apache.cxf.message.MessageContentsList |
toMessageContentsList(Object[] array) |
static QName |
toQName(String qname) |
@Converter public static org.apache.cxf.message.MessageContentsList toMessageContentsList(Object[] array)
@Converter public static String soapMessageToString(SOAPMessage soapMessage, org.apache.camel.Exchange exchange) throws SOAPException, IOException
SOAPExceptionIOException@Converter public static InputStream soapMessageToInputStream(SOAPMessage soapMessage, org.apache.camel.Exchange exchange) throws SOAPException, IOException
SOAPExceptionIOException@Converter public static DataFormat toDataFormat(String name)
@Converter public static InputStream toInputStream(javax.ws.rs.core.Response response, org.apache.camel.Exchange exchange)
@Converter(fallback=true) public static <T> T convertTo(Class<T> type, org.apache.camel.Exchange exchange, Object value, org.apache.camel.spi.TypeConverterRegistry registry)
type - the desired type to be converted toexchange - optional exchange which can be nullvalue - the object to be convertedregistry - type converter registryApache Camel