문제

I'm curious if there is a way to know what Mule flows were executed by either looking at a MuleMessage or enabling some sort of tracing. I'd like to find a quick and easy way to without resorting to inserting 'logger' entries in the mule-config.xml. Mule Studio is not an option unfortunately.

도움이 되었습니까?

해결책

Simple Solution :- In each of the flow place a logger with a value #[flow.name] ... This will help to detect which flow has been executed ... for example :- place a logger <logger message="Flow name:- #[flow.name]" level="INFO" doc:name="Logger"/> will get the flow name in console .. you can use this logger in any flow to get the name ... you can use this Mule expression #[flow.name] to get the name of the flow

다른 팁

Use a JMX console like VisualVM, JMC or JConsole. Start your Mule application and connect locally to org.mule.module.reboot.MuleContainerBootstrap with any of those tools. Then go to MBeans | Mule.appname | Flow | flowname and see the values in the attributes page.

If you need to do this remotely you can follow this guide: Profiling Mule Container and Application using JProfiler

With Mule Management Console, which is only Enterprise Edition feature, you could monitor mule applications, see which flows got triggered, inbound, outbound properties, flow variables at each stage. Monitor performance and all that stuff

https://www.mulesoft.com/platform/soa/management-console-mule-esb

http://www.mulesoft.org/documentation/display/current/Mule+Management+Console

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top