Posted: Thu Jan 26, 2012 12:51 am Post subject: Creating Flow projects and moving flows
Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
When a user defined pattern is instantiated, a flow project (or an application in V8 ) is generated and all the flows are put in it. Is there a way to configure the generated flows to be distributed in several projects/applications?
As far as I know there isn't. The Message Broker API does not offer any tools for creating procets or moving flow files, either. The obvious reason is that these tools are provided by the Eclipse API. Never having done Eclipse programming I am a bit lost when I open the HUGE Eclipse "InfoCenter". Can someone guide me where to start looking?
Posted: Thu Jan 26, 2012 2:05 am Post subject: Re: Creating Flow projects and moving flows
Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
Esa wrote:
When a user defined pattern is instantiated, a flow project (or an application in V8 ) is generated and all the flows are put in it. Is there a way to configure the generated flows to be distributed in several projects/applications?
Isn't it amazing how often you figure out the answer just a couple of minutes after posting the topic? Seems to happen to me all the time. Even if you use Preview as a pre-commit, the solution always comes only after the real commit with Submit...
The solution is, of course, to put several exemplar projects in the pattern!
Now the only problem that remains is how to make new copies of a flow within a project. That may require the Eclipse API. Or can it be done with the Message Broker PHP API?
It's easier to remove than create flows. The simple solution is to load the exemplar project with a large enough number with flow templates and call patternInstancemanager.removeFlow() for those you don't need.
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