Author |
Message
|
sudaltsov |
Posted: Tue Oct 09, 2012 3:31 am Post subject: FTEOutput: keep failed transfers on source |
|
|
Voyager
Joined: 02 May 2012 Posts: 82
|
In case FTE transfer fails (the target agent is down), FTEOutput node does not fail and the flow is notified. Is there any way to replay that transfer? Is there any location (queue directory or smth) where source FTE agent keeps (optionally) the queued and failed files - so usual FTE transfer could be used (fteCreateTransfer command), without bothering WMB?
I know I can add FileOutput to the flow and keep the message explicitly - I am trying to figure out if it is necessary at all. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Oct 09, 2012 5:39 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
In your error handler, put a FileOutput node. Given a choice between FileOutput and MQOutput, I would prefer MQOutput. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
sudaltsov |
Posted: Tue Oct 09, 2012 5:44 am Post subject: |
|
|
Voyager
Joined: 02 May 2012 Posts: 82
|
lancelotlinc wrote: |
In your error handler |
That's the problem. There is no error in WMB. The failure happens when WMB flow already finished. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Oct 09, 2012 5:49 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
sudaltsov |
Posted: Tue Oct 09, 2012 5:58 am Post subject: |
|
|
Voyager
Joined: 02 May 2012 Posts: 82
|
Well, I did not try COD/COA. That's another complicated solution that might work... How do I specify COD/COA in FTE metadata?
I actually am trying to figure out is there is some simple way to provide replaying, with minimal changes to the flow. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Oct 09, 2012 5:59 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
mqjeff |
Posted: Tue Oct 09, 2012 6:03 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Are you using the FTEOutput to schedule a new job or to reference an existing job? I'm sure FTE can be configured to retry a file in case of failure, and I'm sure you can use the FTEOutput node to reference that configuration.
I don't, off the top of my head, know *how* to do those things, but I'm sure it's possible. |
|
Back to top |
|
 |
sudaltsov |
Posted: Tue Oct 09, 2012 6:04 am Post subject: |
|
|
Voyager
Joined: 02 May 2012 Posts: 82
|
I am on WMB v7. I am creating new FTE transfer. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Oct 09, 2012 6:05 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Well, again, without being positive from having done it, I'll suggest that you should create an FTE job that contains retries, and reference that from the jobname property of the FTEOutput node, rather than creating an adhoc transfer. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Oct 09, 2012 6:12 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
sudaltsov |
Posted: Tue Oct 09, 2012 6:21 am Post subject: |
|
|
Voyager
Joined: 02 May 2012 Posts: 82
|
Thanks! It seems there is no simple solution |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Oct 09, 2012 6:37 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
sudaltsov wrote: |
Thanks! It seems there is no simple solution |
WMB is not a turnkey environment. It is a container for which you can deploy functionality to. A WMB developer is responsible for developing the functionality. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
sudaltsov |
Posted: Tue Oct 09, 2012 6:42 am Post subject: |
|
|
Voyager
Joined: 02 May 2012 Posts: 82
|
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Oct 09, 2012 6:44 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
WMB has a long way to go to fully mature. In its current state for version 7, it is functional. V8 has some really cool enhancements that move it further down the austerity path. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
sudaltsov |
Posted: Tue Oct 09, 2012 6:47 am Post subject: |
|
|
Voyager
Joined: 02 May 2012 Posts: 82
|
Sorry, in that context I meant WMQFTE rather WMB. WMB looks way more solid - but integrating with WMQFTE it inevitably inherits some oddities of that engine. |
|
Back to top |
|
 |
|