INT-1420: fix CDATA
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="control-bus"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<section version="5.0" xml:id="control-bus" xmlns="http://docbook.org/ns/docbook"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:ns5="http://www.w3.org/1999/xhtml"
|
||||
xmlns:ns4="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:ns3="http://www.w3.org/2000/svg"
|
||||
xmlns:ns="http://docbook.org/ns/docbook">
|
||||
<title>Control Bus</title>
|
||||
|
||||
<para>As described in (EIP), the idea behind the Control Bus is that
|
||||
@@ -8,11 +12,10 @@
|
||||
the components within the framework as is used for
|
||||
"application-level" messaging. In Spring Integration we build upon
|
||||
the adapters described above so that it's possible to send Messages
|
||||
as a means of invoking exposed operations.
|
||||
|
||||
<programlisting language="xml"><![CDATA[<int:control-bus input-channel="operationChannel"/>]]></programlisting>
|
||||
as a means of invoking exposed operations.</para>
|
||||
|
||||
</para>
|
||||
<programlisting language="xml"><![CDATA[
|
||||
<groovy:control-bus input-channel="operationChannel"/>]]></programlisting>
|
||||
|
||||
<para>The Control Bus has an input channel that can be accessed for
|
||||
invoking operations on the beans in the application context. It
|
||||
|
||||
@@ -71,7 +71,8 @@
|
||||
monitoring and managing the components within the framework as is used for
|
||||
"application-level" messaging. In Spring Integration we build upon the
|
||||
adapters described above so that it's possible to send Messages as a means
|
||||
of invoking exposed operations.<programlisting language="xml"> <groovy:control-bus input-channel="operationChannel"/></programlisting></para>
|
||||
of invoking exposed operations.
|
||||
<programlisting language="xml"> <groovy:control-bus input-channel="operationChannel"/></programlisting></para>
|
||||
|
||||
<para>The Control Bus has an input channel that can be accessed for
|
||||
invoking operations on the beans in the application context.</para>
|
||||
|
||||
@@ -144,7 +144,7 @@
|
||||
create an instance of the <classname>IntegrationMBeanExporter</classname>,
|
||||
define a bean and provide a reference to an MBeanServer and a domain name
|
||||
(if desired). The domain can be left out in which case the default domain
|
||||
is "org.springframework.integration". <programlisting language="xml"> <jmx:mbean-exporter domain="my.company.domain" mbean-server="mbeanServer"/>
|
||||
is "org.springframework.integration". <programlisting language="xml"> <jmx:mbean-exporter default-domain="my.company.domain" server="mbeanServer"/>
|
||||
|
||||
<bean id="mbeanServer" class="org.springframework.jmx.support.MBeanServerFactoryBean">
|
||||
<property name="locateExistingServerIfPossible" value="true"/>
|
||||
@@ -155,36 +155,15 @@
|
||||
can expose the exporter itself, and certain other components in Spring
|
||||
Integration, using the standard
|
||||
<literal><context:mbean-export/></literal> tag. </para>
|
||||
|
||||
<section id="jmx-mbean-features">
|
||||
<title>MBean Features</title>
|
||||
|
||||
<para>All the MessageChannel, MessageHandler and MessageSource
|
||||
instances in the application are wrapped by the MBean exporter to
|
||||
provide management and monitoring features.</para>
|
||||
</section>
|
||||
|
||||
<section id="jmx-control-bus">
|
||||
<title>Control Bus</title>
|
||||
|
||||
<para>As described in (<ulink
|
||||
url="http://www.eaipatterns.com/ControlBus.html">EIP</ulink>), the idea
|
||||
behind the Control Bus is that the same messaging system can be used for
|
||||
monitoring and managing the components within the framework as is used for
|
||||
"application-level" messaging. In Spring Integration we build upon the
|
||||
adapters described above so that it's possible to send Messages as a means
|
||||
of invoking exposed operations. Internally, the Control Bus uses a Spring
|
||||
MBeanExporter instance to expose the various endpoints and channels. To
|
||||
create an instance of the Control Bus, define a bean and provide a
|
||||
reference to an MBeanServer and a domain name. <programlisting
|
||||
language="xml"> <jmx:control-bus mbean-exporter="mbeanExporter" operation-channel="operationChannel"/>
|
||||
|
||||
<jmx:mbean-exporter id="mbeanExporter" mbean-server="mbeanServer"/>
|
||||
</programlisting></para>
|
||||
|
||||
<para>The Control Bus has an "operationChannel" that can be accessed for
|
||||
invoking operations on the MBeans that it has exported. This will also be
|
||||
covered by namespace support soon to make it easier to configure
|
||||
references to that channel for other producers. We will likely add some
|
||||
other channels for notifications and attribute polling as well.</para>
|
||||
|
||||
<para>The Control Bus functionality is a work in progress. At this time,
|
||||
one can perform some basic monitoring of Message Channels and/or invoke
|
||||
Lifecycle operations (start/stop) on Message Endpoints. Now that the
|
||||
foundation is available, however, we will be able to extend the attributes
|
||||
and operations that are being exposed.</para>
|
||||
</section>
|
||||
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user