Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: Spring Integration + Integration-Graph in STS 2.3.2

  1. #11
    Join Date
    Jan 2008
    Location
    Mohnton, PA USA (that's near Philadelphia)
    Posts
    2,148

    Default

    Hmm

    I just opened up your file with no issue other then the GUI formatting, which you can fix by disabling "Automatic Layout" - its the button on the menu bar that looks like a 9 squares 3x3.
    But i will say that your file is rather large.
    What I would suggest is:
    1. Keep your <bean> (other then inner) in a separate file and use <import> to include them in the config
    2. Try to look at your message flow as a set of functional segments (if possible) and split the flow xml in several files

  2. #12
    Join Date
    Jul 2009
    Location
    Charlotte, NC
    Posts
    131

    Default

    Hi Oleg
    Thanks for the confirmation.

    From the design perspective, these points make sense, however the business case here is of high criticality and a high value payment system, so we like to maintain all the configs for a particularly use case flow in one place, and thats why we have 30 such files. Moving beans outside at this point will probably make things slightly unmanagable in my view.

    Given that, did you try to edit the file? What I read is, it loaded fine but you probably didn't try to modify or add, say, a new bean or channel.

    I have tried this in 2 different Eclipse versions, and with different STS plugins in the past couple of months, and today on STS 2.5.0 RELEASE as well, so I really think there is some issue out there (unless there are some additional settings in your workspace, like min-max memory etc, which I am not aware of)

  3. #13

    Default

    Hello all. Great to see folks using the graphical editor. My replies to some of the comments follow:

    @dr_pompeii: To use the Spring Integration graph, I would highly recommend going to STS 2.5. The reason you don't see the graph in STS 2.3.2, and why there's no documentation for the STS.ini flag, is because the graph in that build was a work in progress.

    @racumin: The Integration graph does support printing & exporting. To print the graph you must be on the integration-graph tab. If you try to print from any other tab of the editor, you will print the XML instead. Saving the graph as an image works the same way, but you need to select the "Export..." command from the File menu. We support exporting to JPEG, PNG, and BMP

    @GPS: I've just tried to edit your sample.xml file and you're right, it does take a long time make edits (though I do make it pass the pinwheeling). I haven't worked with a file as large as the one you posted, so I'll see what I can do about optimizing the editor.
    Leo Dos Santos
    Committer, SpringSource Tool Suite

  4. #14
    Join Date
    Oct 2005
    Location
    Boston, MA
    Posts
    2,853

    Default

    Thanks Leo!

  5. #15

    Default

    Hello GPS

    I believe I've identified the primary cause of the performance issues you're seeing, and corrected it. We're planning on releasing STS 2.5.1 in the next couple of weeks, but if you need access to a nightly build let me know.
    Leo Dos Santos
    Committer, SpringSource Tool Suite

  6. #16
    Join Date
    Jul 2009
    Location
    Charlotte, NC
    Posts
    131

    Default

    Hi Leo
    Thanks a lot. I would love to try it, so if you can commit and provide access to the nightly build, that would be great!

  7. #17
    Join Date
    Aug 2010
    Posts
    25

    Default

    Quote Originally Posted by ldossantos View Post
    @racumin: The Integration graph does support printing & exporting. To print the graph you must be on the integration-graph tab. If you try to print from any other tab of the editor, you will print the XML instead. Saving the graph as an image works the same way, but you need to select the "Export..." command from the File menu. We support exporting to JPEG, PNG, and BMP
    Thanks for the info!

  8. #18

    Default

    @GPS

    To get access to our nightly builds, add the following URL http://dist.springsource.com/snapsho.../nightly/e3.6/ to your update sites. You can do this within STS by selecting the Help menu -> Install New Software... command

    Then once the dialog has picked up the features from the update site, you'll want to select the "Core / STS" category, and proceed with the update.

    Standard warning - these builds are automated every day, and some days are better than others so if you're working on mission critical code you might want to backup your STS install before updating, just to be on the safe side.
    Leo Dos Santos
    Committer, SpringSource Tool Suite

  9. #19
    Join Date
    Aug 2006
    Location
    Arequipa-Peru / South America
    Posts
    2,806

    Exclamation Behaviour and presentation

    Hello Guys

    Sorry by the delay, busy

    @GPS
    The only plugin I installed on top of STS was perforce plugin, which I believe shouldn't be the problem.
    Why you are using this plugin?, is not enough STS by itself?, what is its purpose?

    @ldossantos
    @dr_pompeii: To use the Spring Integration graph, I would highly recommend going to STS 2.5. The reason you don't see the graph in STS 2.3.2, and why there's no documentation for the STS.ini flag, is because the graph in that build was a work in progress.
    Thank you, but, How did you know about this?, Exists a link with more details about this?, for example when I downloaded the 2.3.2 in which place I should find a special advice about this.?

    @GPS @oleg.zhurakousky @Mark Fisher and for other members about the follow

    Just to share the follow specific and detalied experience for your consideration (already mentioned by GPS - about when STS hangs):

    I downloaded the Sample.zip file, when in STS 2.5.0 I paste the content of Sample.xml in an empty Spring Bean Configuration File , STS in a first glance, it hangs or crash, in try to paste totally the content

    I mean see image 00.png (specially the icon in the left top - the title part), then the next obvious step is close the application and appear image 01.png, after when STS is closed, only a windows is left. See 02.png (@ldossantos perhaps be useful for you)

    The trick is ignore the event like 00.png for a while and wait a little and the code is pasted and I can see the huge diagram,
    but each time when I open this file, the hang event happen.

    Something that I don't like is that I can't move to a specific position each visual component, for a better appreciation or oversight, or if I want to print it, I mean see 03.png

    The solution is like @oleg.zhurakousky shared with us
    which you can fix by disabling "Automatic Layout" - its the button on the menu bar that looks like a 9 squares 3x3.
    I have a question, how is saved the specific coordinates?

    @ldossantos
    We support exporting to JPEG, PNG, and BMP
    STS only offer a default name with .jpg (no jpeg) extension

    @ldossantos
    I believe I've identified the primary cause of the performance issues you're seeing, and corrected it. We're planning on releasing STS 2.5.1 in the next couple of weeks, but if you need access to a nightly build let me know.
    Sounds great!

    Best Regards
    Attached Images Attached Images
    Last edited by dr_pompeii; Nov 4th, 2010 at 10:22 PM.
    - Manuel Jordan

    Kill Your Pride, Share Your Knowledge With All
    The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7

    Blog


    Technical Reviewer of Apress

    • Pro SpringSource dm Server
    • Spring Enterprise Recipes: A Problem-Solution Approach
    • Spring Recipes: A Problem-Solution Approach, 2nd Edition
    • Pro Spring Integration
    • Pro Spring Batch
    • Pro Spring 3
    • Pro Spring MVC: With Web Flow
    • Pro Spring Security

  10. #20
    Join Date
    Jul 2009
    Location
    Charlotte, NC
    Posts
    131

    Default

    Quote Originally Posted by dr_pompeii View Post
    Why you are using this plugin?, is not enough STS by itself?, what is its purpose?
    Ours is a perforce repository, and importing projects using this plugin provides some benefits, like checking and committing any changes directly to repository from eclipse/STS, comparing different versions of a given file in eclipse/STS itself, keeping track of what all files have been changed/added/deleted etc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •