org.ow2.petals.jbi.messaging.routing.util
Class SourcesForkerUtil

java.lang.Object
  extended by org.ow2.petals.jbi.messaging.routing.util.SourcesForkerUtil

public class SourcesForkerUtil
extends java.lang.Object

Author:
rnaudin

Constructor Summary
SourcesForkerUtil()
           
 
Method Summary
static void cleanExchangeSources(javax.jbi.messaging.MessageExchange exchange)
          Clean the potential duplicated Sources.
static void forkExchangeSources(org.ow2.petals.jbi.messaging.exchange.MessageExchangeWrapper exchangeDecorator)
          Handle streaming issue.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourcesForkerUtil

public SourcesForkerUtil()
Method Detail

cleanExchangeSources

public static final void cleanExchangeSources(javax.jbi.messaging.MessageExchange exchange)
                                       throws java.io.IOException
Clean the potential duplicated Sources.

Parameters:
exchange -
Throws:
java.io.IOException

forkExchangeSources

public static final void forkExchangeSources(org.ow2.petals.jbi.messaging.exchange.MessageExchangeWrapper exchangeDecorator)
                                      throws javax.jbi.messaging.MessagingException
Handle streaming issue. Duplicate sources if they are StreamSource.
TODO : extend the mechanism to the attachments.

Parameters:
exchange -
Throws:
javax.jbi.messaging.MessagingException


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.