Hi all,

I'd like to know if there is a function in the T2 API to stop parsing a 
worflow after a certain amount of time. I have workflows here which use 
ChemSpider services and currently, the whole ChemSpider website seems to 
be unreachable, including their WSDL files.
So I thought it might be possible to stop parsing a workflow file after 
some threshold time (lower than the default (?) of 5 minutes)?

I currently use this little piece of code:

private ApplicationContext context;
private TavernaBaseProfile profile;
private WorkflowParser parser;
....
this.context = new RavenAwareClassPathXmlApplicationContext("context.xml");
this.profile = new TavernaBaseProfile(context);
this.parser = this.profile.getWorkflowParser();
....
Dataflow workflow = parser.createDataflow(workflowURL);
...

Any ideas?

Kind Regards,
Michael

-- 
Michael Gerlich
Group Bioinformatics & Mass Spectrometry
Leibniz Institute of Plant Biochemistry
06120 Halle, Germany


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
taverna-hackers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/taverna-hackers
Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html
FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq

Reply via email to