Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Turbine Wiki" for 
change notification.

The "Turbine4/Turbine4.0M1/Migrate233" page has been changed by ThomasVandahl:
http://wiki.apache.org/turbine/Turbine4/Turbine4.0M1/Migrate233?action=diff&rev1=8&rev2=9

Comment:
Added IntakeService

      <upload repository="tmp" sizeMax="1048576" sizeThreshold="10240"/>
  }}}
  
+ === IntakeService ===
+ 
+ The !TurbineIntakeService has been replaced with the 
[[http://turbine.apache.org/fulcrum/fulcrum-intake/|Fulcrum Intake]] 
counterpart. The following example shows the default configuration of the 
''!IntakeService'' before and after the migration. For details of the 
configuration options available see the 
[[http://turbine.apache.org/fulcrum/fulcrum-intake/|Fulcrum Intake Site]].
+ 
+ `TurbineResources.properties`:
+ 
+ {{{
+ 
services.IntakeService.classname=org.apache.turbine.services.intake.TurbineIntakeService
+ 
+ # -------------------------------------------------------------------
+ #
+ #  I N T A K E   S E R V I C E
+ #
+ # -------------------------------------------------------------------
+ 
+ # The location of the xml file specifying valid inputs
+ #
+ # If you need to define multiple definition files, you can
+ # separate them with commas.
+ #
+ # Default: WEB-INF/conf/intake.xml
+ #
+ services.IntakeService.xml.path=WEB-INF/conf/intake.xml
+ 
+ # This file is used to cache the XML definitions after they are
+ # parsed.  It provides for a small performance gain on startup.
+ #
+ # Note: Even if you have multiple XML definition files, you will
+ # only need one serialization file!
+ #
+ # Default: WEB-INF/appData.ser
+ #
+ services.IntakeService.serialize.path=WEB-INF/appData.ser
+ }}}
+ 
+ `roleConfiguration.xml`:
+ 
+ {{{#!xml
+     <role
+         name="org.apache.fulcrum.intake.IntakeService"
+         shorthand="intake"
+         default-class="org.apache.fulcrum.intake.IntakeServiceImpl"/>
+ }}}
+ 
+ `componentConfiguration.xml`:
+ 
+ {{{#!xml
+     <intake>
+       <serialDataPath>WEB-INF/appData.ser</serialDataPath>
+       <xmlPaths>
+         <xmlPath>WEB-INF/conf/intake1.xml</xmlPath>
+         <xmlPath>WEB-INF/conf/intake2.xml</xmlPath>
+       </xmlPaths>
+     </intake>
+ }}}
+ 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@turbine.apache.org
For additional commands, e-mail: dev-h...@turbine.apache.org

Reply via email to