Author: chirino
Date: Fri Oct 6 12:53:54 2006
New Revision: 453746
URL: http://svn.apache.org/viewvc?view=rev&rev=453746
Log:
Latest export from confluence
Modified:
incubator/servicemix/site/main/lightweight-components.html
incubator/servicemix/site/main/quartz.html
Modified: incubator/servicemix/site/main/lightweight-components.html
URL:
http://svn.apache.org/viewvc/incubator/servicemix/site/main/lightweight-components.html?view=diff&rev=453746&r1=453745&r2=453746
==============================================================================
--- incubator/servicemix/site/main/lightweight-components.html (original)
+++ incubator/servicemix/site/main/lightweight-components.html Fri Oct 6
12:53:54 2006
@@ -189,13 +189,13 @@
<a
href="http://goopen.org/confluence/display/SM/XFire" title="XFire">XFire</a>
<span class="smalltext">(ServiceMix)</span>
<br>
- <a
href="http://goopen.org/confluence/display/SM/Validation"
title="Validation">Validation</a>
- <span class="smalltext">(ServiceMix)</span>
- <br>
<a
href="http://goopen.org/confluence/display/SM/WS+Notification" title="WS
Notification">WS Notification</a>
<span class="smalltext">(ServiceMix)</span>
<br>
<a
href="http://goopen.org/confluence/display/SM/Quartz" title="Quartz">Quartz</a>
+ <span class="smalltext">(ServiceMix)</span>
+ <br>
+ <a
href="http://goopen.org/confluence/display/SM/Validation"
title="Validation">Validation</a>
<span class="smalltext">(ServiceMix)</span>
<br>
</div>
Modified: incubator/servicemix/site/main/quartz.html
URL:
http://svn.apache.org/viewvc/incubator/servicemix/site/main/quartz.html?view=diff&rev=453746&r1=453745&r2=453746
==============================================================================
--- incubator/servicemix/site/main/quartz.html (original)
+++ incubator/servicemix/site/main/quartz.html Fri Oct 6 12:53:54 2006
@@ -112,10 +112,11 @@
<!--
<div class="pagetitle">Quartz</div>
-->
- <DIV class="wiki-content"><P> The QuartzComponent integrates with
the <SPAN class="nobr"><A href="http://www.opensymphony.com/quartz/"
title="Visit page outside Confluence" rel="nofollow">Quartz<SUP><IMG
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> open
source scheduler library. This allows to trigger service invocations at timed
intervals to perform periodic tasks.</P>
-
-
-<P>Here's an example of configuring a quartz component. You can add as
many triggers as you wish to the component, at different timing intervals.</P>
+ <DIV class="wiki-content"><P>The QuartzComponent integrates with
the <SPAN class="nobr"><A href="http://www.opensymphony.com/quartz/"
title="Visit page outside Confluence" rel="nofollow">Quartz<SUP><IMG
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> open
source scheduler library. This allows to trigger service invocations at timed
intervals to perform periodic tasks.
+<BR clear="all">
+<BR clear="all">
+<BR clear="all">
+Here's an example of configuring a quartz component. You can add as many
triggers as you wish to the component, at different timing intervals.</P>
<DIV class="code"><DIV class="codeContent">
<PRE class="code-xml"><SPAN class="code-tag"><sm:activationSpec
componentName=<SPAN class="code-quote">"timer"</SPAN> service=<SPAN
class="code-quote">"my:timer"</SPAN> destinationService=<SPAN
class="code-quote">"my:receiver"</SPAN>></SPAN>
<SPAN class="code-tag"><sm:component></SPAN><SPAN
class="code-tag"><bean class=<SPAN
class="code-quote">"org.apache.servicemix.components.quartz.QuartzComponent"</SPAN>></SPAN>
@@ -138,10 +139,18 @@
<SPAN class="code-tag"></bean></SPAN><SPAN
class="code-tag"></sm:component></SPAN>
<SPAN class="code-tag"></sm:activationSpec></SPAN></PRE>
</DIV></DIV>
+<P><B>Notes:</B></P>
+<UL>
+ <LI>The <SPAN class="nobr"><A
href="http://www.opensymphony.com/quartz/api/org/quartz/SimpleTrigger.html"
title="Visit page outside Confluence" rel="nofollow">SimpleTrigger<SUP><IMG
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN>
repeatCount value count is starting at zero, meaning repeatCount=0 triggers
once, <B>repeatCount=1 triggers twice</B> etc. (Quartz v1.5)</LI>
+ <LI>Maybe properties like description or durability are interesting for
you - for further details refer to the Quartz project <SPAN class="nobr"><A
href="http://www.opensymphony.com/quartz/api/org/quartz/JobDetail.html"
title="Visit page outside Confluence" rel="nofollow">JobDetail<SUP><IMG
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN>
JavaDoc API.</LI>
+</UL>
+
-<P>A number of properties can be configured on the component:</P>
+<P><BR clear="all">
+<BR clear="all">
+A number of properties can be configured on the component:</P>
<UL>
- <LI><TT><B>marshaler</B></TT>: a class implementing the <SPAN
class="nobr"><A
href="http://incubator.apache.org/servicemix/dist/servicemix-3.0-incubating/site/servicemix-components/apidocs/org/apache/servicemix/components/quartz/QuartzMarshaler.html"
title="Visit page outside Confluence" rel="nofollow">QuartzMarshaler<SUP><IMG
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN>
interface which populates the JBI exchange. The <SPAN class="nobr"><A
href="http://incubator.apache.org/servicemix/dist/servicemix-3.0-incubating/site/servicemix-components/apidocs/org/apache/servicemix/components/quartz/DefaultQuartzMarshaler.html"
title="Visit page outside Confluence" rel="nofollow">default<SUP><IMG
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> one
will create something l
ike:
+ <LI><TT><B>marshaler</B></TT>: a class implementing the <SPAN
class="nobr"><A
href="http://incubator.apache.org/servicemix/dist/servicemix-3.0-incubating/site/servicemix-components/apidocs/org/apache/servicemix/components/quartz/QuartzMarshaler.html"
title="Visit page outside Confluence" rel="nofollow">QuartzMarshaler<SUP><IMG
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN>
interface which populates the JBI exchange. The <SPAN class="nobr"><A
href="http://incubator.apache.org/servicemix/dist/servicemix-3.0-incubating/site/servicemix-components/apidocs/org/apache/servicemix/components/quartz/DefaultQuartzMarshaler.html"
title="Visit page outside Confluence" rel="nofollow">default<SUP><IMG
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> one
will create something li
ke:
<DIV class="code"><DIV class="codeContent">
<PRE class="code-xml"><SPAN class="code-tag"><timer></SPAN>
<SPAN class="code-tag"><name></SPAN>My Example Job<SPAN
class="code-tag"></name></SPAN>
@@ -150,11 +159,13 @@
<SPAN class="code-tag"><description/></SPAN>
<SPAN class="code-tag"><fireTime></SPAN>Thu Oct 05 10:54:32 CEST
2006<SPAN class="code-tag"></fireTime></SPAN>
<SPAN class="code-tag"></timer></SPAN></PRE>
+</DIV></DIV>
+<P>To get some hints on how to set up a marshaler, you may do such a <SPAN
class="nobr"><A
href="http://google.com/codesearch?q=marshaler%20file:.xml%20package:http:%2F%2Fsvn.apache.org%2Frepos%2Fasf%2Fincubator%2Fservicemix%2Ftrunk&btnG=Search&hl=en&lr"
title="Visit page outside Confluence" rel="nofollow">Google Code
search<SUP><IMG class="rendericon"
src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0"
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> revealing how
other marshalers are set up in static configuration files (like
<EM>servicemix.xml</EM>). You will figure out that you have to create a silbing
of <property name="triggers"> containing this code:</P>
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag"><property name=<SPAN
class="code-quote">"marshaler"</SPAN>></SPAN>
+ <SPAN class="code-tag"><bean class=<SPAN
class="code-quote">"org.apache.servicemix.components.quartz.DefaultQuartzMarshaler"</SPAN>
/></SPAN>
+<SPAN class="code-tag"></property></SPAN></PRE>
</DIV></DIV></LI>
-</UL>
-
-
-<UL>
<LI><TT><B>scheduler</B></TT> the <SPAN class="nobr"><A
href="http://www.opensymphony.com/quartz/api/org/quartz/Scheduler.html"
title="Visit page outside Confluence" rel="nofollow">Quartz scheduler<SUP><IMG
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> to
use. If not specified, the <TT>factory</TT> will be used to create it.</LI>
</UL>
@@ -172,9 +183,35 @@
</DIV>
<DIV id="site-footer">
Added by <A
href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James
Strachan</A>,
- last edited by <A
href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet">Guillaume
Nodet</A> on Oct 05, 2006
- (<A
href="http://goopen.org/confluence/pages/diffpages.action?pageId=1982&originalId=13971">view
change</A>)
-
+ last edited by <A
href="http://goopen.org/confluence/users/viewuserprofile.action?username=georg_dembowski">Georg
Dembowski</A> on Oct 07, 2006
+ (<A
href="http://goopen.org/confluence/pages/diffpages.action?pageId=1982&originalId=14012">view
change</A>)
+ <SPAN id="show" class="inline-control-link"><A href=""
onclick="showComment(); return false;">show comment</A></SPAN>
+ <SPAN id="hide" class="inline-control-link" style="display:none;"><A
href="" onclick="hideComment(); return false;">hide comment</A></SPAN>
+ <DIV id="versionComment" class="noteMacro" style="display:none;
padding: 5px;">
+ <B>Comment:</B>
+ INS further explanation/help<BR>
+ <SPAN class="smalltext"><A
href="http://goopen.org/confluence/pages/viewpreviouspageversions.action?pageId=1982">View
page history</A></SPAN>
+ </DIV>
+
+ <SCRIPT>
+ var show = document.getElementById('show');
+ var hide = document.getElementById('hide');
+ var versionComment = document.getElementById('versionComment');
+
+ function showComment(){
+ show.style.display = 'none';
+ hide.style.display = 'inline';
+ versionComment.style.display = 'block';
+ }
+
+ function hideComment(){
+ show.style.display = 'inline';
+ hide.style.display = 'none';
+ versionComment.style.display = 'none';
+ }
+
+ </SCRIPT>
+
(<A
href="http://goopen.org/confluence/pages/editpage.action?pageId=1982">edit
page</A>)
</DIV>