[jbosstools-fuse-dev - 3] Re: save from palette extension

Brian Fitzpatrick bfitzpat at redhat.com
Tue Mar 17 09:43:27 EDT 2015


Fantastic!

_______________________________
Brian Fitzpatrick (aka "Fitz")
Senior Software Engineer, Tooling
JBoss by Red Hat

----- Original Message -----
From: "Keith Babo" <kbabo at redhat.com>
To: jbosstools-fuse-dev at lists.jboss.org
Sent: Monday, March 16, 2015 7:10:04 PM
Subject: [jbosstools-fuse-dev - 1]  save from palette extension


I have pushed a datamapper-integration branch to my fork which demonstrates model updates outside of the route using a palette extension: 
https://github.com/kcbabo/fuseide/tree/datamapper-integration 

There were a couple of issues, but the main culprit was that the save logic would only update routes and would ignore anything else added to the camel context via JAXB. This sort of makes sense, since the Camel editor so far has only edited routes within the camel context. I have a fix for that in my commit. It’s pretty straightforward, but I was only really paying attention to the path I cared about while testing it. I need to review the other marshal* methods in RouteXml and see if anything else needs to be updated. Expect some minor cleanup before a PR. 

I have also updated our palette extension class, removing all unnecessary code and structuring it so it’s clear what needs to be added where. I’m using hard-coded data for populating the camel context merely as an example. I will look to wire this into the wizard tomorrow, which will also involve moving all of the tooling over to the Camel JAXB model and removing our own generated JAXB models. 

~ keith 

_______________________________________________
jbosstools-fuse-dev mailing list
jbosstools-fuse-dev at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosstools-fuse-dev



More information about the jbosstools-fuse-dev mailing list