|By David Dossot||
|February 19, 2013 11:00 AM EST||
This blog is the formal introduction to the CRaSH console for Mule on which I've been working for the past month or so. I've decided to interview myself about it because, hey, if I don't do it, who will?
What is CRaSH for Mule?
It is a shell that is running embedded in Mule and that gives command-line access to a variety of Mule internal moving parts. It's built thanks to the excellent CRaSH project, a toolkit built by Julien Viet and sponsored by eXo Platform, which allows the easy creation of embedded shells.
What can we do with it?
Well, it's easy to find it out. Let's connect to CRaSH for Mule and ask for help:
As you can see the range of actions include gathering information, like statistics and names, but also performing actions, like restarting a connector or even stopping the broker.
Why is it better than JMX?
Behind the scene CRaSH for Mule relies on JMX so anything you can do with it could be done with direct JMX interactions (like with JConsole or jmxterm). This said CRaSH for Mule has many advantages over raw JMX, including:
- Adds Mule semantics to JMX. You do not need to fiddle with lengthy object names do achieve what you want: CRaSH for Mule builds the right object names based on your actions.
- Provides auto-completion, this for application names and commands.
- Supports connectivity over telnet and ssh. No need for baroque JMX RMI connection strings.
- All the other CRaSH commands are available. The default set of commands is very rich: to name a few, it comes complete with commands for dealing with the system, the JVM, JDBC and JNDI.
How does it compare to MMC?
Well, it doesn't! The Mule Management Console is way more capable and feature-laden, and comes bundled with the Enterprise Edition of Mule.
CRaSH for Mule focuses on admin-oriented command-line friendly interactions with Mule. And it is fully open sourced.
How do I install it?
Navigate to CRaSH's homepage and locate the Mule distribution download link. You'll get an archive that contains different files, including crash-mule-app.zip that you need to drop in your Mule broker apps directory. This application contains a readme file that explains how to configure it, should the default configuration not satisfy you. You can also read it online.
CRaSH for Mule 1.2.0-cr6-SNAPSHOT has been tested on Mule CE 3.3.1 and EE 3.3.1.
Got into trouble?
Report issues or open feature requests directly to CRaSH's JIRA.
Sep. 27, 2016 09:30 PM EDT Reads: 2,947
Sep. 27, 2016 09:30 PM EDT Reads: 442
Sep. 27, 2016 08:30 PM EDT Reads: 2,032
Sep. 27, 2016 08:15 PM EDT Reads: 2,226
Sep. 27, 2016 07:30 PM EDT Reads: 2,146
Sep. 27, 2016 07:00 PM EDT Reads: 2,854
Sep. 27, 2016 06:30 PM EDT Reads: 3,565
Sep. 27, 2016 06:30 PM EDT Reads: 2,200
Sep. 27, 2016 05:45 PM EDT Reads: 1,662
Sep. 27, 2016 05:30 PM EDT Reads: 2,026
Sep. 27, 2016 05:15 PM EDT Reads: 2,769
Sep. 27, 2016 05:15 PM EDT Reads: 313
Sep. 27, 2016 05:00 PM EDT Reads: 1,601
Sep. 27, 2016 03:15 PM EDT Reads: 2,765
Sep. 27, 2016 03:00 PM EDT Reads: 1,694
Sep. 27, 2016 02:45 PM EDT Reads: 1,278
Sep. 27, 2016 01:30 PM EDT Reads: 1,718
Sep. 27, 2016 01:00 PM EDT Reads: 2,669
Sep. 27, 2016 01:00 PM EDT Reads: 1,603
Internet of @ThingsExpo, taking place November 1-3, 2016, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with the 19th International Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world and ThingsExpo Silicon Valley Call for Papers is now open.
Sep. 27, 2016 12:15 PM EDT Reads: 4,567