ibm mq - Is it possible to have a list of files transferred after a successful transfer in WMQ-FTE? -


i move files time-stamped directory after transfer them using wmq-fte. running v7.0.4.1.

my problem there new files being written directory transferring out of, blindly transferring not way. batch transfer triggers happen in batches of 1000, 1 transfer occurs per 1000 files transferred.

i hoping there metadata contained list of paths of files transferred move them directory before or after transfer happens. directory creation part of pre or post source call.

take @ destinationtransferendexit.java api documentation. in particular, @ fileresults parameter. ant task can use parameter perform actions on specific files.

/**  * invoked after completion of transfer on agent acting  * destination of transfer.  *   * @param transferexitresult  *            result object reflecting whether or not transfer completed  *            successfully.  *   * @param sourceagentname  *            name of agent acting source of transfer.  *   * @param destinationagentname  *            name of agent acting destination of  *            transfer.  name of agent   *            implementation of method invoked from.  *   * @param environmentmetadata  *            meta data environment in implementation  *            of method running.  information can read,  *            cannot updated implementation.  constants  *            defined in <code>environmentmetadataconstants</code> class can   *            used access data held map.  *   * @param transfermetadata  *            meta data associate transfer.  information can  *            read, cannot updated implementation.    *            map may contain keys ibm reserved names.  these   *            entries defined in <code>transfermetadataconstants</code>   *            class , have special semantics.  *   * @param fileresults  *            list of file transfer result objects describe source  *            file name, destination file name , result of each file transfer  *            operation attempted.  *   * @return    optional description enter log message describing  *            transfer completion.  value of <code>null</code> can used  *            when no description required.  */ string ondestinationtransferend(transferexitresult transferexitresult,                 string sourceagentname,                 string destinationagentname,                 map<string, string>environmentmetadata,                 map<string, string>transfermetadata,                  list<filetransferresult>fileresults); 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -