[jboss-svn-commits] JBL Code SVN: r35875 - labs/jbossesb/branches/JBESB_4_9_CP/product/docs/Programmers_Guide/en-US.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Nov 5 06:16:51 EDT 2010
Author: tfennelly
Date: 2010-11-05 06:16:51 -0400 (Fri, 05 Nov 2010)
New Revision: 35875
Modified:
labs/jbossesb/branches/JBESB_4_9_CP/product/docs/Programmers_Guide/en-US/Configuration.xml
Log:
https://jira.jboss.org/browse/JBESB-3525
Add support for scheduled connectors in camel gateway
Modified: labs/jbossesb/branches/JBESB_4_9_CP/product/docs/Programmers_Guide/en-US/Configuration.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_9_CP/product/docs/Programmers_Guide/en-US/Configuration.xml 2010-11-05 09:15:32 UTC (rev 35874)
+++ labs/jbossesb/branches/JBESB_4_9_CP/product/docs/Programmers_Guide/en-US/Configuration.xml 2010-11-05 10:16:51 UTC (rev 35875)
@@ -2452,7 +2452,26 @@
lifeycle.
</para>
+ <note>
<para>
+ It is important to be aware of the fact that this gateway only supports
+ Camel routes that can be defined in a single "from" URI. The basic stanza
+ supported by the gateway is from(endpointUri).to(esbService). The gateway
+ does not support routes that would require intermediate routing to other
+ Camel components.
+ </para>
+ </note>
+
+ <para>
+ Some Camel components perform scheduled routing tasks e.g. the HTTP component
+ can be used to periodically poll a HTTP address, or the File component can poll a
+ filesystem directory. Not all of these components support a URI option for configuring
+ the poll frequency. The HTTP component is one such example. In these cases,
+ you just need to prefix the component URI Scheme with "esbschedule:<frequency-in-millis>" e.g.
+ <from uri="esbschedule:5000:http://www.jboss.org" /> would poll jboss.org every 5 seconds.
+ </para>
+
+ <para>
Finally, there are two other optional attributes that one can
place at either the <camel-gateway> or <camel-bus>
level (the gateway overriding the bus in these cases): async and
More information about the jboss-svn-commits
mailing list