ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » FTEOutput: keep failed transfers on source

Post new topic  Reply to topic Goto page 1, 2  Next
 FTEOutput: keep failed transfers on source « View previous topic :: View next topic » 
Author Message
sudaltsov
PostPosted: Tue Oct 09, 2012 3:31 am    Post subject: FTEOutput: keep failed transfers on source Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Tue Oct 09, 2012 5:39 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
sudaltsov
PostPosted: Tue Oct 09, 2012 5:44 am    Post subject: Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Tue Oct 09, 2012 5:49 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Do you set COD or COA flags on your transfer? Track status in a database.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
sudaltsov
PostPosted: Tue Oct 09, 2012 5:58 am    Post subject: Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Tue Oct 09, 2012 5:59 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Are you on WMB V8?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Oct 09, 2012 6:03 am    Post subject: Reply with quote

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
View user's profile Send private message
sudaltsov
PostPosted: Tue Oct 09, 2012 6:04 am    Post subject: Reply with quote

Voyager

Joined: 02 May 2012
Posts: 82

I am on WMB v7. I am creating new FTE transfer.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Oct 09, 2012 6:05 am    Post subject: Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Tue Oct 09, 2012 6:12 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

1. Save the original payload.

2. Query the coordination queue manager of the TransferStatus of your job.

3. If the job fails, resubmit.

http://publib.boulder.ibm.com/infocenter/wmqfte/v7r0/index.jsp?topic=%2Fcom.ibm.wmqfte.doc%2Fwmqfte_intro.htm

http://publib.boulder.ibm.com/infocenter/wmqfte/v7r0/topic/com.ibm.wmqfte.doc/how_stuff_works.htm
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
sudaltsov
PostPosted: Tue Oct 09, 2012 6:21 am    Post subject: Reply with quote

Voyager

Joined: 02 May 2012
Posts: 82

Thanks! It seems there is no simple solution
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Oct 09, 2012 6:37 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
sudaltsov
PostPosted: Tue Oct 09, 2012 6:42 am    Post subject: Reply with quote

Voyager

Joined: 02 May 2012
Posts: 82

Fair enough. Unfortunately even as a toolbox it is not perfect in some aspects... (I mean http://www.mqseries.net/phpBB2/viewtopic.php?t=62378)
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Oct 09, 2012 6:44 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
sudaltsov
PostPosted: Tue Oct 09, 2012 6:47 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » FTEOutput: keep failed transfers on source
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.