esb - How can I share global elements between mule flows -
i'm starting out mule , noticed mflow files tend rather large , if use visual view in mule studio it's hard take in. read somewhere put each flow in different file , flows deployed , can call each other.
the problem created own custom transformer want use in 2 different flows. if declare global custom transformer in each file error saying name exists.
so tried , placed custom transformer in own mflow file , works in runtime problem mule studio doesn't seem understand @ "compile time" , mflow files riddled errors stating "reference unknown global element". how can import global elements 1 mflow file mule studio stops complaining.
maybe isn't correct way @ all. if i'd happy know how achieve goal in other way.
thanks in advance
this known issue studio whereby doesn't recognise global elements in other config files still runs application fine: https://www.mulesoft.org/jira/browse/studio-1881
this should fixed in version 3.4 of studio. version of studio using?
and yes, centralising reusable config elements common approach. more info on sustainable development mule here: http://www.mulesoft.org/documentation/display/current/team+development+with+mule
Comments
Post a Comment