[jbosstools-fuse-dev - 1] save from palette extension

Keith Babo kbabo at redhat.com
Mon Mar 16 21:10:04 EDT 2015


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 <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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbosstools-fuse-dev/attachments/20150316/4d8579d3/attachment.html 


More information about the jbosstools-fuse-dev mailing list