public class ServiceMixMapper extends BaseXmlMapper implements Mapper
Mapper.Recognized
__log
Constructor and Description |
---|
ServiceMixMapper() |
Modifier and Type | Method and Description |
---|---|
Mapper.Recognized |
isRecognized(javax.jbi.messaging.NormalizedMessage nmsMsg,
javax.wsdl.Operation op)
Determine if this mapper recognizes the format of the NMS message.
|
javax.wsdl.Fault |
toFaultType(javax.jbi.messaging.Fault jbiFlt,
java.util.Collection<javax.wsdl.Fault> faults)
Infer the fault type based on the message.
|
void |
toNMS(javax.jbi.messaging.NormalizedMessage nmsMsg,
Message odeMsg,
javax.wsdl.Message msgdef,
javax.xml.namespace.QName fault)
Convert a ODE message to NMS format.
|
void |
toODE(Message odeMsg,
javax.jbi.messaging.NormalizedMessage nmsMsg,
javax.wsdl.Message msgdef)
Convert an NMS message to ODE format.
|
newDocument, parse
public Mapper.Recognized isRecognized(javax.jbi.messaging.NormalizedMessage nmsMsg, javax.wsdl.Operation op)
Mapper
isRecognized
in interface Mapper
public void toNMS(javax.jbi.messaging.NormalizedMessage nmsMsg, Message odeMsg, javax.wsdl.Message msgdef, javax.xml.namespace.QName fault) throws javax.jbi.messaging.MessagingException, MessageTranslationException
Mapper
Mapper.isRecognized(NormalizedMessage, Operation)
returned,
true
.toNMS
in interface Mapper
javax.jbi.messaging.MessagingException
MessageTranslationException
public void toODE(Message odeMsg, javax.jbi.messaging.NormalizedMessage nmsMsg, javax.wsdl.Message msgdef) throws MessageTranslationException
Mapper
Mapper.isRecognized(NormalizedMessage, Operation)
returned,
true
.toODE
in interface Mapper
MessageTranslationException
public javax.wsdl.Fault toFaultType(javax.jbi.messaging.Fault jbiFlt, java.util.Collection<javax.wsdl.Fault> faults) throws MessageTranslationException
Mapper
toFaultType
in interface Mapper
jbiFlt
- JBI fault messagefaults
- collection of possible faultsMessageTranslationException