Flowable 6.6.0 用户指南相关文档下载
- BPMN用户指南 第一部分 - 中文PDF精编版
- BPMN用户指南 第二部分 - 中文PDF精编版
- BPMN用户指南 第三部分 - 中文PDF精编版
- 应用程序指南 - 中文PDF精编版
- 应用程序指南 - 中英对照PDF精编版
- 应用程序指南 - Eclipse设计器中文PDF精编版
- 表单用户指南 - 中文PDF精编版
- 事件注册表用户指南 - 中文PDF精编版
《Flowable 6.6.0 BPMN用户指南》
1. 入门
2. 配置
3 The Flowable API
4 Flowable 6.6.0 BPMN用户指南 - (4)Spring集成
5 Spring Boot
6 部署
7 BPMN 2.0简介
8 BPMN 2.0的构造
9 表单(Forms)
10 流程实例迁移
11 JPA
12 历史(History)
13 身份管理(Identity management)
14 REST API
15 CDI集成
16 LDAP集成
17 高级用例
18 Tooling
- 18.1 JMX
- 18.2 Maven原型(archetypes)
有关Flowable的更多文档,参见:
18 Tooling
18.1 JMX
18.1.1 简介
It is possible to connect to Flowable engine using standard Java Management Extensions (JMX) technology in order to get information or to change its behavior. Any standard JMX client can be used for that purpose. Enabling and disabling Job Executor, deploy new process definition files and deleting them are just samples of what could be done using JMX without writing a single line of code.
可以使用标准的Java管理扩展(JMX)技术连接到Flowable引擎,以获取信息或更改其行为。任何标准的JMX客户机都可用于此目的。启用和禁用作业执行器(Job Executor)、部署新的流程定义文件并删除它们只是使用JMX而无需编写一行代码就可以完成的工作的示例。
18.1.2 快速入门
By default JMX is not enabled. To enable JMX in its default configuration, it is enough to add the flowable-jmx jar file to your classpath, using Maven or by any other means. In case you are using Maven, you can add proper dependency by adding the following lines in your pom.xml:
默认情况下,JMX未启用。要在默认配置中启用JMX,只需使用Maven或任何其他方法将flowable-jmx jar文件添加到类路径(classpath)就足够了。如使用Maven,可以通过在pom.xml文件中添加如下几行,即可添加正确的依赖:
<dependency>
<groupId>org.flowable</groupId>
<artifactId>flowable-jmx</artifactId>
<version>latest.version</version>
</dependency>
After adding the dependency and building process engine, the JMX connection is ready to be used. Just run jconsole available in a standard JDK distribution. In the list of local processes, you will see the JVM containing Flowable. If for any reason the proper JVM is not listed in “local processes” section, try connecting to it using this URL in “Remote Process” section:
service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi/flowable
在添加了依赖项并构建了流程引擎之后,JMX连接就可以使用了。只需运行标准JDK发行版(standard JDK distribution)中可用的jconsole。在本地进程列表中,您将看到包含Flowable的JVM。如果出于任何原因,适当的JVM没有在“本地进程”部分列出,请尝试使用“远程进程”部分中的以下URL连接到它:
service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi/flowable
You can find the exact local URL in your log files. After connecting, you can see the standard JVM statistics and MBeans. You can view Flowable specific MBeans by selecting MBeans tab and select “org.flowable.jmx.Mbeans” on the right panel. By selecting any MBean, you can query information or change configuration. This snapshot shows how the jconsole looks like:
Any JMX client not limited to jconsole can be used to access MBeans. Most of data center monitoring tools have some connectors which enables them to connect to JMX MBeans.
您可以在日志文件中找到确切的本地URL。连接之后,通过选择位于右侧面板上MBeans选项卡并选择“org.flowable.jmx.Mbeans”,您可以看到标准的JVM统计信息和MBean。通过选择MBean,您可以查询信息或更改配置。此快照显示jconsole的外观:
其它JMX客户端(不限于jconsole)都可用来访问MBean。大多数数据中心监视工具都有一些连接器,使它们能够连接到JMX MBean。