Demo entry 6685199

1

   

Submitted by anonymous on Dec 19, 2017 at 05:45
Language: XML. Code size: 2.7 kB.

<?xml version="1.0" encoding="UTF-8"?>
<!-- <!DOCTYPE cld SYSTEM "../dtd/cld.dtd"> -->

<cld defaultActionLoggerName="cldActionLogger">
	<Syslog name="syslog1" server="192.168.11.31 192.168.11.32" port="514" prefix="[CLD]" all="false">
	</Syslog>
	<ActionLogger name="cldActionLogger" syslog="syslog1" type="file" prefix="" dir="/LOGS/cld/" pattern="cld_%d[%l]">
		<Broadcast ip="" port="" multicast="false"/>
	</ActionLogger>

	<DBRequestClient name="drcOracle" timeout="10000">
		<Server ip="drs1" port="5200"/>
		<Server ip="drs2" port="5200"/>
	</DBRequestClient>
	<DBRequestClient name="drcMySql" timeout="10000">
		<Server ip="drs1" port="5201"/>
		<Server ip="drs2" port="5201"/>
	</DBRequestClient>

	<ReceiveTask
		name="ReceiveTask"
		queuePath="/nsp/cld/receive" 
		storeData="true"
		actionLogger="cldActionLogger"
		taskName="RELAY"
		sync="true"
		>
		<ContentStore 
			name="backupStore" 
			class="com.yna.commons.content.ContentFileStore"
			actionLogger="action">
			<Property name="basedir">/nsp/cld/store</Property>
		</ContentStore>
		<TaskGroup name="ArticleTaskGroup-KR-Serial" cattr="A">
			<Task class="com.yna.nsp.cls.cld.task.article.ArticleMySqlTask" after="ContentPurge"
				name="ArticleMySqlTaskKrSerial"
				count="1"			
				queuePath="/nsp/cld/task/articleMySqlTaskKrSerial"
				storeData="true"
				actionLogger="cldActionLogger"
				taskName="DB_SAVE"
				rolling="false"
				sync="true">
				<Include>{ctype == "KR"}</Include>
			</Task>
		</TaskGroup>
		<CommonTaskGroup name="ContentPurge">
			<Task class="com.yna.commons.task.PurgeTask"
				name="ContentPurge"
				count="1"
				queuePath="/nsp/cld/task/purge"
				storeData="store"
				actionLogger="cldActionLogger"
				taskName="PURGE"
				rolling="false"
				sync="false">
				<Include>{cattr @@ [A,X,P,F,G,M,R,I,C,E]}</Include>
				<Property name="aps.server">aps</Property>
				<Property name="aps.path">/aps/api/v2</Property>
				<Property name="port">8100</Property>
			</Task>
			
			<Task class="com.yna.nsp.cls.cld.task.CpsSendSnsTask"
				name="CpsSendSnsTask"
				count="1"
				queuePath="/nsp/cld/task/cpsSendSnsTask"
				storeData="true"
				actionLogger="cldActionLogger"
				taskName="CPS_SEND"
				rolling="false"
				sync="true">
				<Include>{cattr @@ [A,X,P,G,M,C,F,R,I,N,E]}</Include>
				<Exclude><![CDATA[
					{cattr == 'N' & ctype @@ [VO,LW]}
				]]></Exclude>
				<Property name="cps.server">cps</Property>
				<Property name="cps.path">/cps/api/sendsns/</Property>
				<Property name="cps.port">5600</Property>
				<Property name="cps.ssl">false</Property>
			</Task>
			
		</CommonTaskGroup>
	</ReceiveTask>
</cld>

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).