it.imolinfo.jbi4corba.jbi.processor
Class MessageDenormalizer

java.lang.Object
  extended by it.imolinfo.jbi4corba.jbi.processor.MessageDenormalizer

public class MessageDenormalizer
extends Object

Message denormalizer class. Extract from the NRM message the message part.

Author:
Marco Piraccini

Constructor Summary
MessageDenormalizer()
          Instantiates a new denormalizer.
 
Method Summary
 JbiMessage denormalize(Node node, Jbi4CorbaEndpoint endpoint, QName operation, boolean isInput)
          Denormalizes the message (DOM version).
 JbiMessage denormalize(javax.jbi.messaging.NormalizedMessage normalizedMessage, Jbi4CorbaEndpoint endpoint, QName operation, boolean isInput, boolean isFault)
          Denormalize the message to the source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageDenormalizer

public MessageDenormalizer()
                    throws Jbi4CorbaException
Instantiates a new denormalizer.

Throws:
Jbi4corbaException - if some problem occurs in denormalizing
Jbi4CorbaException
Method Detail

denormalize

public JbiMessage denormalize(javax.jbi.messaging.NormalizedMessage normalizedMessage,
                              Jbi4CorbaEndpoint endpoint,
                              QName operation,
                              boolean isInput,
                              boolean isFault)
                       throws Jbi4CorbaException
Denormalize the message to the source. This implementation takes the first (should be the only) part

Parameters:
normalizedMessage - the message to denormalize
endpoint - the endpoint invoked
operation - the opration invoked
isInput - if it's an input message
isFault - if it's a fault message
Returns:
the Jbi4corbaMessage containing the source.
Throws:
Jbi4CorbaException - if some problem occurs in message denormalizing

denormalize

public JbiMessage denormalize(Node node,
                              Jbi4CorbaEndpoint endpoint,
                              QName operation,
                              boolean isInput)
                       throws Jbi4CorbaException
Denormalizes the message (DOM version). This implementation takes the first (should be the only) part

Parameters:
endpoint - the endpoint invoked
node - the node
operation -
isInput - if it's an input message
Returns:
the Jbi4corbaMessage containing the source.
Throws:
Jbi4CorbaException - if some problem occurs in message denormalizing


Copyright © 2005-2010 Imola Informatica. All Rights Reserved.