|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.bc.filetransfer.service.provide.AbstractFileService
org.ow2.petals.bc.filetransfer.service.provide.GetFileService
public class GetFileService
Get the file in the configured directory (parameter : folder) and set it in the out-message payload.
| Field Summary |
|---|
| Fields inherited from class org.ow2.petals.bc.filetransfer.service.provide.AbstractFileService |
|---|
extensions, logger |
| Constructor Summary | |
|---|---|
GetFileService(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)
Process the exchange : get the file in the configured directory, using filename set in the exchange file is returned as OUT response (assume the file is an XML file) return the first file the file is move/deleted after read |
| 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 |
|---|
public GetFileService(org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions extensions,
java.util.logging.Logger logger)
| Method Detail |
|---|
public void process(org.ow2.petals.component.framework.api.message.Exchange exchange,
org.w3c.dom.Document inMessageDoc)
throws javax.jbi.messaging.MessagingException
process in class AbstractFileServicejavax.jbi.JBIException
javax.jbi.messaging.MessagingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||