org.ow2.petals.bc.filetransfer.service.provide
Class MPutFileService

java.lang.Object
  extended by org.ow2.petals.bc.filetransfer.service.provide.AbstractFileService
      extended by org.ow2.petals.bc.filetransfer.service.provide.MPutFileService

public class MPutFileService
extends AbstractFileService

Copy attachments of the JBI in-message into the specified directory.(parameter : write-directory). If one copy process fail a report is generate, record in petals-esb and and error status is set on the exchange. The name of the transferred file is the name of the attachment.

Author:
”Mathieu CARROLLE - mathieu.carrolle@petalslink.com”

Field Summary
 
Fields inherited from class org.ow2.petals.bc.filetransfer.service.provide.AbstractFileService
extensions, logger
 
Constructor Summary
MPutFileService(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions, java.util.logging.Logger logger)
           
 
Method Summary
 void process(org.ow2.petals.component.framework.api.message.Exchange exchange, org.w3c.dom.Document inMessageDoc)
           
 
Methods inherited from class org.ow2.petals.bc.filetransfer.service.provide.AbstractFileService
getTargetFileName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MPutFileService

public MPutFileService(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions,
                       java.util.logging.Logger logger)
Method Detail

process

public void process(org.ow2.petals.component.framework.api.message.Exchange exchange,
                    org.w3c.dom.Document inMessageDoc)
             throws javax.jbi.messaging.MessagingException
Specified by:
process in class AbstractFileService
Throws:
javax.jbi.messaging.MessagingException


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