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

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

public class GetFileAsAttachmentService
extends AbstractFileService

Get the file in the configured directory(parameter folder) and set it as attachment on the out-message.

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
GetFileAsAttachmentService(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

GetFileAsAttachmentService

public GetFileAsAttachmentService(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.