websphere-mq-fte

mq fte and ant script

这一生的挚爱 提交于 2019-12-11 08:30:04
问题 Can we use globmapper inside "presrc" or "postsrc" call? If we can, how to use? 回答1: The "presrc" or "postsrc" calls can run any valid Ant script so the short answer is "yes". Hopefully, someone will respond with a sample code to provide the longer answer. :-) 回答2: Sample for reference: <fte:filemove src="${source.agent}@${source.qmgr}" dst="${destination.agent}@${destination.qmgr}" rcproperty="copy.result"> <fte:presrc command="antfile.xml" type="antscript" retryCount="2" retryWait="30"

Can I conditionally stop an Ant script based on file last modified time?

回眸只為那壹抹淺笑 提交于 2019-12-11 01:22:52
问题 I've been looking all over the Internet, but couldn't find an answer anywhere. I have an MQFTE job coded in ANT script and I'm having difficulty with a process that moves files if a file doesn't have today's date. What I would like to do is a conditional stop, something like a return true value in a middle of the execution so the job is not going to go through the further routine and just end if the file is identified as to be skipped. Is that possible in ANT? Or does it have to go through

To display a read error when the source file is used by other applications while transfering using MQFTE?

ぃ、小莉子 提交于 2019-12-06 12:29:56
问题 I need to display a read error when the source file is being used by other applications. For example : Source filename: test.txt Content: Test file. The above content is stored in the txt file and saved. The txt file is opened and is modified as below but not saved. Test file is modified. When i invoke the transfer now i should get a read error, instead the file gets transferred with the last saved content(Test file). What can i do to display a error message? This case was tested in unix and

What's the difference between an exit and a call in WebSphere MQ FTE?

我只是一个虾纸丫 提交于 2019-12-06 02:32:49
问题 I have been asked this a lot lately so I thought I'd post the question and answer here. What is the difference between an FTE exit and an FTE call? What are they for and when do I use them? 回答1: Background WebSphere MQ File Transfer Edition (WMQ FTE) is a Java application built on WebSphere MQ and which provides an enterprise file transfer platform. The transfer occurs between two agents, one at the source and one at the destination. In the lifecycle of the transfer there are four points at

To display a read error when the source file is used by other applications while transfering using MQFTE?

穿精又带淫゛_ 提交于 2019-12-04 19:33:34
I need to display a read error when the source file is being used by other applications. For example : Source filename: test.txt Content: Test file. The above content is stored in the txt file and saved. The txt file is opened and is modified as below but not saved. Test file is modified. When i invoke the transfer now i should get a read error, instead the file gets transferred with the last saved content(Test file). What can i do to display a error message? This case was tested in unix and windows. 来源: https://stackoverflow.com/questions/5870083/to-display-a-read-error-when-the-source-file