You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ch...@apache.org on 2006/10/06 21:53:55 UTC

svn commit: r453746 - in /incubator/servicemix/site/main: lightweight-components.html quartz.html

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&apos;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&apos;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">&lt;sm:activationSpec componentName=<SPAN class="code-quote">&quot;timer&quot;</SPAN> service=<SPAN class="code-quote">&quot;my:timer&quot;</SPAN> destinationService=<SPAN class="code-quote">&quot;my:receiver&quot;</SPAN>&gt;</SPAN>
   <SPAN class="code-tag">&lt;sm:component&gt;</SPAN><SPAN class="code-tag">&lt;bean class=<SPAN class="code-quote">&quot;org.apache.servicemix.components.quartz.QuartzComponent&quot;</SPAN>&gt;</SPAN>
@@ -138,10 +139,18 @@
   <SPAN class="code-tag">&lt;/bean&gt;</SPAN><SPAN class="code-tag">&lt;/sm:component&gt;</SPAN>
 <SPAN class="code-tag">&lt;/sm:activationSpec&gt;</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">&lt;timer&gt;</SPAN>
   <SPAN class="code-tag">&lt;name&gt;</SPAN>My Example Job<SPAN class="code-tag">&lt;/name&gt;</SPAN>
@@ -150,11 +159,13 @@
   <SPAN class="code-tag">&lt;description/&gt;</SPAN>
   <SPAN class="code-tag">&lt;fireTime&gt;</SPAN>Thu Oct 05 10:54:32 CEST 2006<SPAN class="code-tag">&lt;/fireTime&gt;</SPAN>
 <SPAN class="code-tag">&lt;/timer&gt;</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 &lt;property name=&quot;triggers&quot;&gt; containing this code:</P>
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;marshaler&quot;</SPAN>&gt;</SPAN>
+        <SPAN class="code-tag">&lt;bean class=<SPAN class="code-quote">&quot;org.apache.servicemix.components.quartz.DefaultQuartzMarshaler&quot;</SPAN> /&gt;</SPAN>
+<SPAN class="code-tag">&lt;/property&gt;</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
-                  &nbsp;(<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
+                  &nbsp;(<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>