Class QNameStrategy
java.lang.Object
org.apache.camel.dataformat.soap.name.QNameStrategy
- All Implemented Interfaces:
ElementNameStrategy
Simply ElementNameStrategy that returns one preset QName. This can be handy for simple asynchronous calls
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindExceptionForFaultName
(QName faultName) Determine exception class for given SOAP Fault QNamefindExceptionForSoapActionAndFaultName
(String soapAction, QName faultName) Determine exception class for given SOAP Action and Fault QNamefindQNameForSoapActionOrType
(String soapAction, Class<?> type) Deterimine element name for given type
-
Constructor Details
-
QNameStrategy
Initialize with one QName- Parameters:
elmentName
- QName to be used for all finds
-
-
Method Details
-
findQNameForSoapActionOrType
Description copied from interface:ElementNameStrategy
Deterimine element name for given type- Specified by:
findQNameForSoapActionOrType
in interfaceElementNameStrategy
- Returns:
- preset element name
-
findExceptionForFaultName
Description copied from interface:ElementNameStrategy
Determine exception class for given SOAP Fault QName- Specified by:
findExceptionForFaultName
in interfaceElementNameStrategy
- Returns:
-
findExceptionForSoapActionAndFaultName
public Class<? extends Exception> findExceptionForSoapActionAndFaultName(String soapAction, QName faultName) Description copied from interface:ElementNameStrategy
Determine exception class for given SOAP Action and Fault QName- Specified by:
findExceptionForSoapActionAndFaultName
in interfaceElementNameStrategy
- Returns:
-