|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Mapper
Interface implemented by message format converters. TODO: Perhaps we should move this into the engine and make it pluggable?
Nested Class Summary | |
---|---|
static class |
Mapper.Recognized
|
Method Summary | |
---|---|
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. |
Method Detail |
---|
Mapper.Recognized isRecognized(javax.jbi.messaging.NormalizedMessage nmsMsg, javax.wsdl.Operation op)
nmsMsg
-
void toNMS(javax.jbi.messaging.NormalizedMessage nmsMsg, Message odeMsg, javax.wsdl.Message msgdef, javax.xml.namespace.QName fault) throws javax.jbi.messaging.MessagingException, MessageTranslationException
isRecognized(NormalizedMessage, Operation)
returned,
true
.
nmsMsg
- odeMsg
- msgdef
-
javax.jbi.messaging.MessagingException
MessageTranslationException
void toODE(Message odeMsg, javax.jbi.messaging.NormalizedMessage nmsMsg, javax.wsdl.Message msgdef) throws MessageTranslationException
isRecognized(NormalizedMessage, Operation)
returned,
true
.
odeMsg
- nmsMsg
- msgdef
-
MessageTranslationException
javax.wsdl.Fault toFaultType(javax.jbi.messaging.Fault jbiFlt, java.util.Collection<javax.wsdl.Fault> faults) throws MessageTranslationException
jbiFlt
- JBI fault messagefaults
- collection of possible faults
MessageTranslationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |