How to get caller flow name in private flow in Mule -


i've private flow shared lot of public flows using flow-ref. i'm looking caller flow name in private flow, using mel, using mule 3.3.0. possible?

mule doesn't add property event when invokes private flow via flow-ref options are:

  • use <set-variable> set variable flow name before calling private flow , read variable #[flowvars.yourvariablename].
  • use inbound endpoint of calling flow way tell who's calling. can either inbound endpoint url #[message.inboundproperties.mule_endpoint] or name #[message.inboundproperties.mule_originating_endpoint].
  • create custom messageprocessor implements flowconstructaware: way you'll flow name , able automatically set invocation variable on muleevent's message. use custom-processor element in parent flows, before flow-ref.

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -