|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExchangeUtil
Contains utilities for the Exchange management.
| Method Summary | |
|---|---|
Exchange |
copyExchange(javax.jbi.messaging.MessageExchangeFactory mef,
Exchange source)
create a new exchange copy of a source exchange |
void |
copyExchangeProperties(Exchange source,
Exchange target)
Copies the exchange's properties in another exchange. |
void |
copyNormalizedMessage(javax.jbi.messaging.NormalizedMessage source,
javax.jbi.messaging.NormalizedMessage target)
Copies a message's content, properties and attachments in another. |
boolean |
isBaseNotification(Exchange exchange)
Check if the JBI exchange is a base notification exchange |
boolean |
isPetalsException(javax.jbi.messaging.Fault fault)
Verify if the fault set is a real business fault, or an exception inserted into a fault (to respect the InOut MEP for example) |
| Method Detail |
|---|
Exchange copyExchange(javax.jbi.messaging.MessageExchangeFactory mef,
Exchange source)
throws javax.jbi.messaging.MessagingException,
PEtALSCDKException
mef - The factory to be able to create the new exchangesource - the source exchange
javax.jbi.messaging.MessagingException
PEtALSCDKException
void copyNormalizedMessage(javax.jbi.messaging.NormalizedMessage source,
javax.jbi.messaging.NormalizedMessage target)
throws javax.jbi.messaging.MessagingException,
PEtALSCDKException
source - the source normalized messagetarget - the target normalized message
javax.jbi.messaging.MessagingException
PEtALSCDKException
void copyExchangeProperties(Exchange source,
Exchange target)
throws javax.jbi.messaging.MessagingException,
PEtALSCDKException
source - the source exchangetarget - the target exchange
javax.jbi.messaging.MessagingException
PEtALSCDKException
boolean isPetalsException(javax.jbi.messaging.Fault fault)
throws PEtALSCDKException
fault - : the fault to check
PEtALSCDKExceptionboolean isBaseNotification(Exchange exchange)
exchange - the JBI exchange
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||