[jboss-svn-commits] JBL Code SVN: r7780 - in labs/jbossesb/trunk: product/core/rosetta/src/org/jboss/soa/esb/addressing/eprs qa/junit/src/org/jboss/soa/esb/listeners/gateway

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed Nov 22 09:38:46 EST 2006


Author: estebanschifman
Date: 2006-11-22 09:38:37 -0500 (Wed, 22 Nov 2006)
New Revision: 7780

Added:
   labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/listeners/gateway/secureFtpEsbListenerConfig.xml
   labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/listeners/gateway/secureFtpGatewayListenerConfig.xml
Modified:
   labs/jbossesb/trunk/product/core/rosetta/src/org/jboss/soa/esb/addressing/eprs/FileEpr.java
Log:
Change tagnames in FileEPR - New XML example configurations

Modified: labs/jbossesb/trunk/product/core/rosetta/src/org/jboss/soa/esb/addressing/eprs/FileEpr.java
===================================================================
--- labs/jbossesb/trunk/product/core/rosetta/src/org/jboss/soa/esb/addressing/eprs/FileEpr.java	2006-11-22 14:02:12 UTC (rev 7779)
+++ labs/jbossesb/trunk/product/core/rosetta/src/org/jboss/soa/esb/addressing/eprs/FileEpr.java	2006-11-22 14:38:37 UTC (rev 7780)
@@ -44,11 +44,11 @@
  */
 public class FileEpr extends EPR
 {
-	public static final String INPUT_SUFFIX_TAG = "inputsuffix";
-	public static final String WORK_SUFFIX_TAG = "worksuffix";
-	public static final String POST_DIR_TAG = "postdir";
-	public static final String POST_SUFFIX_TAG = "postsuffix";
-	public static final String POST_DEL_TAG = "postdel";
+	public static final String INPUT_SUFFIX_TAG = "inputSuffix";
+	public static final String WORK_SUFFIX_TAG 	= "workSuffix";
+	public static final String POST_DIR_TAG 	= "postDir";
+	public static final String POST_SUFFIX_TAG 	= "postSuffix";
+	public static final String POST_DEL_TAG 	= "postDelete";
 	
 	public FileEpr (EPR epr)
 	{

Added: labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/listeners/gateway/secureFtpEsbListenerConfig.xml
===================================================================
--- labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/listeners/gateway/secureFtpEsbListenerConfig.xml	2006-11-22 14:02:12 UTC (rev 7779)
+++ labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/listeners/gateway/secureFtpEsbListenerConfig.xml	2006-11-22 14:38:37 UTC (rev 7780)
@@ -0,0 +1,29 @@
+<JmsListenerController parameterReloadSecs="180">
+   <CoalMarketRightsMessageListener
+        service-category="SecureRemoteFileXfer"
+        service-name="CoalMarketRates"
+		service-description="Description for the Coal Market Rights esb listener"
+		epr-description="JMS endpoint for coal market rights listener"
+	  	listenerClass="org.jboss.soa.esb.listeners.message.JmsQueueListener"
+  	>
+	  	<toEPR
+			connection-factory="ConnectionFactory"
+			destination-type="queue"
+			destination-name="queue/A"
+			jndi-type="jboss"
+			jndi-URL="localhost"
+			message-selector="service='coalMarketRights'"
+		/>
+	  	<faultEPR
+	  		service-category="faults"
+	  		service-name="CoalMarketRigthsFaults"
+		/>		
+	   <action  class="org.jboss.soa.esb.actions.Notifier"  okMethod="notifyOK">
+		   	<NotificationList type="OK"> 
+				<target class="NotifyConsole" />
+			</NotificationList> 
+	   </action>
+	   
+   </CoalMarketRightsMessageListener>
+   
+</JmsListenerController>

Added: labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/listeners/gateway/secureFtpGatewayListenerConfig.xml
===================================================================
--- labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/listeners/gateway/secureFtpGatewayListenerConfig.xml	2006-11-22 14:02:12 UTC (rev 7779)
+++ labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/listeners/gateway/secureFtpGatewayListenerConfig.xml	2006-11-22 14:38:37 UTC (rev 7780)
@@ -0,0 +1,51 @@
+<RemoteFileSystemTest parameterReloadSecs="600">
+    <CoalMarketRightsGateway
+        target-service-category="SecureRemoteFileXfer"
+        target-service-name="CoalMarketRates"
+     	gatewayClass="org.jboss.soa.esb.listeners.gateway.FtpGatewayListener"
+	    pollLatencySeconds="60"    
+    >
+    	<targetEPR
+	        url="sftp://user:password@host:port/path0/path1"
+		    suffix=".dat"	
+	    >
+	    	<sftp
+		        clientAuthEnable="false" 
+		        clientCertFile="" 
+		        passphrase="" 
+		        passive="false"
+	    	/>
+    	</targetEPR>
+
+	    <postProcessEPR
+	        url="sftp://user:password@host:port/path0/path1"
+		    suffix=".sentToEsb"
+		    postDelete="false"
+		>
+	    	<sftp
+		        clientAuthEnable="false" 
+		        clientCertFile="" 
+		        passphrase="" 
+		        passive="false"
+	    	/>
+	    </postProcessEPR>
+		    
+	    <faultEPR
+	    	service-category="faults"
+	    	service-name="faultEprforCoalMarketRights"
+		>
+	    </faultEPR>
+
+       	<proxy 
+       		enable="false" 
+       		host="" 
+       		port="" 
+       		clientAuth="false" 
+       		username="" 
+       		password="" 
+       	/>
+        	<action> </action>
+
+    </CoalMarketRightsGateway>
+
+</RemoteFileSystemTest>




More information about the jboss-svn-commits mailing list