[jboss-svn-commits] JBL Code SVN: r35452 - labs/jbossesb/branches/JBESB_4_9_CP/product/docs/Programmers_Guide/en-US/OOB-Actions.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Oct 7 05:51:13 EDT 2010
Author: mageshbk at jboss.com
Date: 2010-10-07 05:51:13 -0400 (Thu, 07 Oct 2010)
New Revision: 35452
Modified:
labs/jbossesb/branches/JBESB_4_9_CP/product/docs/Programmers_Guide/en-US/OOB-Actions/OOB_Actions_routing.xml
Log:
[JBESB-3500] - Removed documentation on JBoss Remoting HttpRouter.
Modified: labs/jbossesb/branches/JBESB_4_9_CP/product/docs/Programmers_Guide/en-US/OOB-Actions/OOB_Actions_routing.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_9_CP/product/docs/Programmers_Guide/en-US/OOB-Actions/OOB_Actions_routing.xml 2010-10-07 09:22:27 UTC (rev 35451)
+++ labs/jbossesb/branches/JBESB_4_9_CP/product/docs/Programmers_Guide/en-US/OOB-Actions/OOB_Actions_routing.xml 2010-10-07 09:51:13 UTC (rev 35452)
@@ -91,177 +91,122 @@
<section id="section-HttpRouter">
<title>HttpRouter</title>
- <para>
- Currently there are two HttpRouter actions in the code base. One that uses
- JBoss Remoting to perform the HTTP invocation and one that uses Apache Commons
- HttpClient. This section will discribe both. Please note that the JBoss Remoting
- HttpRouter is now deprecated to avoid confusion that having two may cause.
- </para>
+ <informaltable>
+ <tgroup align="left" cols="2" colsep="1" rowsep="1">
+ <colspec colwidth="1*"/>
+ <colspec colwidth="5*"/>
+ <tbody>
+ <row>
+ <entry>Class</entry>
+ <entry><classname>org.jboss.soa.esb.actions.routing.http.HttpRouter</classname></entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
- <section id="section-JBossRemotingHttpRouter">
- <title>JBoss Remoting HttpRouter (Deprecated)</title>
- <informaltable>
- <tgroup align="left" cols="2" colsep="1" rowsep="1">
- <colspec colwidth="1*"/>
- <colspec colwidth="5*"/>
- <tbody>
- <row>
- <entry>Class</entry>
- <entry><classname>org.jboss.soa.esb.actions.routing.HttpRouter</classname></entry>
- </row>
- </tbody>
- </tgroup>
- </informaltable>
+ <para>
+ This action allows invocation of external (ESB unaware) Http endpoints from
+ an ESB action pipeline. This action uses Apache Commons HttpClient under the
+ covers.
+ </para>
- <para>
- This instance will forward the incoming message to a URL for further processing.
- </para>
-
-
- <table>
- <title>JBoss Remoting HttpRouter Properties</title>
- <tgroup cols="3" colsep="1" rowsep="1">
- <colspec colwidth="2*"/>
- <colspec colwidth="5*"/>
- <colspec colwidth="1*"/>
- <thead>
- <row><entry>Property</entry><entry>Description</entry><entry>Required</entry></row>
- </thead>
- <tbody>
+ <table>
+ <title>Apache Commons HttpRouter</title>
+ <tgroup cols="3" colsep="1" rowsep="1">
+ <colspec colwidth="2*"/>
+ <colspec colwidth="6*"/>
+ <colspec colwidth="1*"/>
+ <thead>
+ <row><entry>Property</entry><entry>Description</entry><entry>Required</entry></row>
+ </thead>
+ <tbody>
<row>
- <entry><property>routeUrl</property></entry>
+ <entry><property>unwrap</property></entry>
<entry>
<para>
- The endpoint to which to forward the message. If not set, then
- <literal>localhost:5400</literal> will be used.
+ Setting this to <literal>true</literal> (the default) will extract the message
+ payload from the Message object before sending.
+ <literal>false</literal> will send the serialized
+ Message as either XML or Base64 encoded JavaSerialized
+ object, based on the MessageType.
</para>
</entry>
<entry>No</entry>
</row>
- </tbody></tgroup>
- </table>
- </section>
+ <row>
+ <entry><property>endpointUrl</property></entry>
+ <entry>
+ <para>
+ The endpoint to which the message will be forwarded.
+ </para>
+ </entry>
+ <entry>Yes</entry>
+ </row>
+ <row>
+ <entry><property>http-client-property</property></entry>
+ <entry>
+ <para>
+ The HttpRouter uses the HttpClientFactory to create and configure
+ the HttpClient instance. You can specify the configuration of
+ the factory by using the file property which will point to a
+ properties file on the local file system, classpath or URI
+ based. See example below to see how this is done. For more
+ information about the factory properties please refer to:
+ <ulink url="http://www.jboss.org/community/docs/DOC-9969" />.
+ </para>
+ </entry>
+ <entry>No</entry>
+ </row>
+ <row>
+ <entry><property>method</property></entry>
+ <entry>
+ <para>
+ Currently only supports GET and POST.
+ </para>
+ </entry>
+ <entry>Yes</entry>
+ </row>
+ <row>
+ <entry><property>responseType</property></entry>
+ <entry>
+ <para>
+ Specifies in what form the response should be sent
+ back. Either STRING or BYTES. Default value is STRING.
+ </para>
+ </entry>
+ <entry>No</entry>
+ </row>
+ <row>
+ <entry><property>headers</property></entry>
+ <entry>
+ <para>
+ To be added to the request. Supports multiple <header
+ name="test" value="testvalue" /> elements.
+ </para>
+ </entry>
+ <entry>No</entry>
+ </row>
+ <row>
+ <entry><property>http-client-property</property></entry>
+ <entry>
+ <para>
+ The HttpRouter uses the HttpClientFactory to create and
+ configure the HttpClient instance. You can specify the
+ configuration of the factory by
+ </para>
+ </entry>
+ <entry>No</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <example>
+ <title>Sample Configuration</title>
+ <programlisting language="XML" role="XML"><xi:include href="../extras/OOB-Actions/routers-apachehttp.xmlt" parse="text" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include></programlisting>
+ </example>
- <section id="section-ApacheCommonsHttpRouter">
- <title>Apache Commons HttpRouter</title>
- <informaltable>
- <tgroup align="left" cols="2" colsep="1" rowsep="1">
- <colspec colwidth="1*"/>
- <colspec colwidth="5*"/>
- <tbody>
- <row>
- <entry>Class</entry>
- <entry><classname>org.jboss.soa.esb.actions.routing.http.HttpRouter</classname></entry>
- </row>
- </tbody>
- </tgroup>
- </informaltable>
-
- <para>
- This action allows invocation of external (ESB unaware) Http endpoints from
- an ESB action pipeline. This action uses Apache Commons HttpClient under the
- covers.
- </para>
-
- <table>
- <title>Apache Commons HttpRouter</title>
- <tgroup cols="3" colsep="1" rowsep="1">
- <colspec colwidth="2*"/>
- <colspec colwidth="6*"/>
- <colspec colwidth="1*"/>
- <thead>
- <row><entry>Property</entry><entry>Description</entry><entry>Required</entry></row>
- </thead>
- <tbody>
- <row>
- <entry><property>unwrap</property></entry>
- <entry>
- <para>
- Setting this to <literal>true</literal> (the default) will extract the message
- payload from the Message object before sending.
- <literal>false</literal> will send the serialized
- Message as either XML or Base64 encoded JavaSerialized
- object, based on the MessageType.
- </para>
- </entry>
- <entry>No</entry>
- </row>
- <row>
- <entry><property>endpointUrl</property></entry>
- <entry>
- <para>
- The endpoint to which the message will be forwarded.
- </para>
- </entry>
- <entry>Yes</entry>
- </row>
- <row>
- <entry><property>http-client-property</property></entry>
- <entry>
- <para>
- The HttpRouter uses the HttpClientFactory to create and configure
- the HttpClient instance. You can specify the configuration of
- the factory by using the file property which will point to a
- properties file on the local file system, classpath or URI
- based. See example below to see how this is done. For more
- information about the factory properties please refer to:
- <ulink url="http://www.jboss.org/community/docs/DOC-9969" />.
- </para>
- </entry>
- <entry>No</entry>
- </row>
- <row>
- <entry><property>method</property></entry>
- <entry>
- <para>
- Currently only supports GET and POST.
- </para>
- </entry>
- <entry>Yes</entry>
- </row>
- <row>
- <entry><property>responseType</property></entry>
- <entry>
- <para>
- Specifies in what form the response should be sent
- back. Either STRING or BYTES. Default value is STRING.
- </para>
- </entry>
- <entry>No</entry>
- </row>
- <row>
- <entry><property>headers</property></entry>
- <entry>
- <para>
- To be added to the request. Supports multiple <header
- name="test" value="testvalue" /> elements.
- </para>
- </entry>
- <entry>No</entry>
- </row>
- <row>
- <entry><property>http-client-property</property></entry>
- <entry>
- <para>
- The HttpRouter uses the HttpClientFactory to create and
- configure the HttpClient instance. You can specify the
- configuration of the factory by
- </para>
- </entry>
- <entry>No</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
-
- <example>
- <title>Sample Configuration</title>
- <programlisting language="XML" role="XML"><xi:include href="../extras/OOB-Actions/routers-apachehttp.xmlt" parse="text" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include></programlisting>
- </example>
-
- </section>
-
</section>
<section id="section-JMSRouter">
More information about the jboss-svn-commits
mailing list