[jboss-svn-commits] JBL Code SVN: r37506 - in labs/jbossesb/branches/JBESB_4_10_CP/product/docs/Programmers_Guide/en-US: extras/configuration and 1 other directory.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Oct 4 16:20:51 EDT 2011
Author: tcunning
Date: 2011-10-04 16:20:50 -0400 (Tue, 04 Oct 2011)
New Revision: 37506
Added:
labs/jbossesb/branches/JBESB_4_10_CP/product/docs/Programmers_Guide/en-US/extras/configuration/Code_Example21.xmlt
Modified:
labs/jbossesb/branches/JBESB_4_10_CP/product/docs/Programmers_Guide/en-US/Configuration.xml
labs/jbossesb/branches/JBESB_4_10_CP/product/docs/Programmers_Guide/en-US/extras/configuration/Code_Example16.xmlt
Log:
JBESB-3697
Upgrade <provider>/<bus> references to <jms-provider>/<jms-bus> and
provide a valid configuration for examples in sections 9.2 and 9.3
Modified: labs/jbossesb/branches/JBESB_4_10_CP/product/docs/Programmers_Guide/en-US/Configuration.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_10_CP/product/docs/Programmers_Guide/en-US/Configuration.xml 2011-10-04 17:10:08 UTC (rev 37505)
+++ labs/jbossesb/branches/JBESB_4_10_CP/product/docs/Programmers_Guide/en-US/Configuration.xml 2011-10-04 20:20:50 UTC (rev 37506)
@@ -127,12 +127,11 @@
<programlisting language="XML" role="XML"><xi:include href="extras/configuration/Code_Example16.xmlt" parse="text" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include></programlisting>
<para>
- The above example uses the “base” <provider> and <bus> types.
- This is perfectly legal, but we recommend use of the
- specialized extensions of these types for creating real
+ We recommend use of the
+ specialized extensions of these types for creating
configurations, namely <jms-provider> and <jms-bus> for JMS.
The most important part of the above configuration is the busid
- attribute defined on the <bus> instance. This is a required
+ attribute defined on the <jms-bus> instance. This is a required
attribute on the <bus> element/type (including all of its
specializations - <jms-bus> etc). This attribute is used within
the <listener> configurations to refer to the <bus> instance on
@@ -355,15 +354,13 @@
<para>
An example of a <listener> reference to a <bus> can
- be seen in the following illustration (using “base” types only).
+ be seen in the following example.
</para>
- <mediaobject>
- <imageobject>
- <imagedata align="center" fileref="images/configuration/image22.png" width="100%" scalefit="1" contentdepth="100%" />
- </imageobject>
- </mediaobject>
-
+
+ <programlisting language="XML" role="XML"><xi:include href="extras/configuration/Code_Example21.xmlt" parse="text" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include></programlisting>
+
+
<para>
A Service will do little without a list of one or more
<actions>. <action>s typically contain the logic for
@@ -2371,7 +2368,7 @@
JBossESB only contains the camel-core.jar. You will have to add
any other dependencies (including other camel-* jars or third
party jars) you require into
- server/<profile>/deployers/esb.deployer/lib - not your ESB archive.
+ server/<profile>/deployers/esb.deployer/lib</profile> - not your ESB archive.
For more information on using non-core Camel components, see
<ulink url="http://community.jboss.org/wiki/CamelGatewayUsingNon-coreComponents/"/>.
</para>
Modified: labs/jbossesb/branches/JBESB_4_10_CP/product/docs/Programmers_Guide/en-US/extras/configuration/Code_Example16.xmlt
===================================================================
--- labs/jbossesb/branches/JBESB_4_10_CP/product/docs/Programmers_Guide/en-US/extras/configuration/Code_Example16.xmlt 2011-10-04 17:10:08 UTC (rev 37505)
+++ labs/jbossesb/branches/JBESB_4_10_CP/product/docs/Programmers_Guide/en-US/extras/configuration/Code_Example16.xmlt 2011-10-04 20:20:50 UTC (rev 37506)
@@ -1,16 +1,10 @@
-<providers>
- <provider name="JBossMessaging" connection-factory="ConnectionFactory">
- <property name="connection-factory" value="ConnectionFactory" />
- <property name="jndi-URL" value="jnp://localhost:1099" />
- <property name="protocol" value="jms" />
- <property name="jndi-pkg-prefix" value="com.xyz"/>
-
-
- <bus busid="local-jms">
- <property name="destination-type" value="topic" />
- <property name="destination-name" value="queue/B" />
- <property name="message-selector" value="service='Reconciliation'"
- <property name=”persistent” value=”true”/>
- </bus>
- </provider>
-</providers>
+ <providers>
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
+ <jms-bus busid="Reconciliation">
+ <jms-message-filter
+ dest-type="QUEUE"
+ dest-name="queue/B"
+ />
+ </jms-bus>
+ </jms-provider>
+ </providers>
Added: labs/jbossesb/branches/JBESB_4_10_CP/product/docs/Programmers_Guide/en-US/extras/configuration/Code_Example21.xmlt
===================================================================
--- labs/jbossesb/branches/JBESB_4_10_CP/product/docs/Programmers_Guide/en-US/extras/configuration/Code_Example21.xmlt (rev 0)
+++ labs/jbossesb/branches/JBESB_4_10_CP/product/docs/Programmers_Guide/en-US/extras/configuration/Code_Example21.xmlt 2011-10-04 20:20:50 UTC (rev 37506)
@@ -0,0 +1,36 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd"
+ parameterReloadSecs="5">
+ <providers>
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
+ <jms-bus busid="Reconciliation">
+ <jms-message-filter
+ dest-type="QUEUE"
+ dest-name="queue/B"
+ />
+ </jms-bus>
+<!-- busid --> <jms-bus busid="ReconciliationEsb">
+ <jms-message-filter
+ dest-type="QUEUE"
+ dest-name="queue/C"
+ </jms-bus>
+ </jms-provider>
+ </providers>
+ <services>
+ <service category="Bank" name="Reconciliation"
+ description="Bank Reconciliation Service">
+ <listeners>
+<!-- busidref --> <jms-listener name="Bank-Listener"
+ busidref="Reconciliation"
+ is-gateway="true"/>
+ <jms-listener name="Bank-Esb"
+ busidref="ReconciliationEsb"/>
+ </listeners>
+ <actions>
+ ....
+ </actions>
+ </service>
+ </services>
+</jbossesb>
More information about the jboss-svn-commits
mailing list