[jboss-svn-commits] JBL Code SVN: r6724 - in labs/jbossesb/trunk/product: core/listeners/src/org/jboss/soa/esb/actions core/listeners/src/org/jboss/soa/esb/actions/converters core/listeners/tests/src/org/jboss/soa/esb/actions core/rosetta/src/org/jboss/soa/esb/services/transform samples/trailblazer/bankloanbrokerdemo/conf

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Oct 10 10:37:36 EDT 2006


Author: tfennelly
Date: 2006-10-10 10:37:27 -0400 (Tue, 10 Oct 2006)
New Revision: 6724

Added:
   labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/actions/converters/SmooksTransformer.java
Removed:
   labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/actions/SmooksTransformer.java
Modified:
   labs/jbossesb/trunk/product/core/listeners/tests/src/org/jboss/soa/esb/actions/SmooksTransformerUnitTest.java
   labs/jbossesb/trunk/product/core/rosetta/src/org/jboss/soa/esb/services/transform/TransformationService.java
   labs/jbossesb/trunk/product/samples/trailblazer/bankloanbrokerdemo/conf/LoanBrokerConfig.xml.template
Log:
Updated the TransformationService to use the new Message type.

http://jira.jboss.com/jira/browse/JBESB-187

Deleted: labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/actions/SmooksTransformer.java
===================================================================
--- labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/actions/SmooksTransformer.java	2006-10-10 14:04:52 UTC (rev 6723)
+++ labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/actions/SmooksTransformer.java	2006-10-10 14:37:27 UTC (rev 6724)
@@ -1,229 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.soa.esb.actions;
-
-import java.io.*;
-import java.util.List;
-
-import org.apache.log4j.Logger;
-import org.jboss.soa.esb.ConfigurationException;
-import org.jboss.soa.esb.helpers.KeyValuePair;
-import org.jboss.soa.esb.services.transform.TransformationException;
-import org.jboss.soa.esb.services.transform.TransformationService;
-import org.milyn.SmooksStandalone;
-
-import org.jboss.soa.esb.message.*;
-
-/**
- * Smooks Transformer.
- * <p/>
- * This processor hooks the <a href="http://milyn.codehaus.org/Smooks">Milyn Smooks</a>
- * XML Transformation/Processing Engine into a message processing pipeline to support
- * XML message transformations.  
- * <p/>
- * Sample Action Configuration:
- * <pre>
- * &lt;Action name="Order_Xml-FROM_Acme-TO_AcmePartner" processor="SmooksTransformer"&gt;
- *     &lt;property name="message-type" value="Order" /&gt; &lt;!-- REQUIRED. --&gt;
- *     &lt;property name="message-from" value="Acme" /&gt; &lt;!-- REQUIRED. --&gt;
- *     &lt;property name="message-to" value="AcmePartner" /&gt; &lt;!-- REQUIRED. --&gt;
- *     &lt;property name="message-encoding" value="UTF-8" /&gt; &lt;!-- OPTIONAL. Default "UTF-8" --&gt;
- * &lt;/Action&gt;
- * </pre>
- * Eventually, all the message properties defined on the action will come from the message metadata.  This will
- * happen once we have a proper "normalized" message format with message headers etc.
- * 
- * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
- * @since Version 4.0
- */
-
-public class SmooksTransformer implements TransformationService, ActionProcessor {
-
-    private static Logger logger = Logger.getLogger(SmooksTransformer.class);
-    private static final String SMOOKS_CDR_LST = "smooks-cdr.lst";
-    private static SmooksStandalone smooks;
-    private String messageType;
-    private String messageFrom;
-    private String messageTo;
-    private String messageEnc;
-    private String messageUseragent;
-    private String cpPrefix;
-    
-    /**
-     * Public constructor.
-     * @param actionName Action name.
-     * @param properties Action Properties.
-     * @throws ConfigurationException 
-     * @throws ConfigurationException Action not properly configured.
-     */
-	public SmooksTransformer(String name, List<KeyValuePair> properties) throws ConfigurationException {
-        messageType = KeyValuePair.getValue("message-type", properties);
-        if(messageType == null || messageType.equals("")) {
-            throw new ConfigurationException("Action configuration 'message-type' not specified.");
-        }
-        messageFrom = KeyValuePair.getValue("message-from", properties);
-        if(messageFrom == null || messageFrom.equals("")) {
-            throw new ConfigurationException("Action configuration 'message-from' not specified.");
-        }
-        messageTo = KeyValuePair.getValue("message-to", properties);
-        if(messageTo == null || messageTo.equals("")) {
-            throw new ConfigurationException("Action configuration 'message-to' not specified.");
-        }
-        messageEnc = KeyValuePair.getValue("message-encoding", properties, "UTF-8");
-        // Test the configured encoding
-        try {
-            "astring".getBytes(messageEnc);
-        } catch (UnsupportedEncodingException e) {
-            throw new ConfigurationException("Invalid character encoding [" + messageEnc + "] on action configuration [" + name + "].", e);
-        }
-
-        // The "cpPrefix" property is "private" and only here in order to make unit testing easier.
-        // It allows us to force a "bad" config location for the smooks-cdr.lst file....
-        cpPrefix = KeyValuePair.getValue("smooks-cdr.list-classpath-prefix", properties, "/");
-        if(!cpPrefix.startsWith("/")) {
-            cpPrefix = "/" + cpPrefix;
-        }
-        
-        initSmooks();
-        
-        // In the context of the ESB, the Smooks useragent will be defined by the message "type", where it's 
-        // coming "from" and where it's going "to"...
-        messageUseragent = messageType + "-" + messageFrom + "-" + messageTo;
-        // Register the message metadata as "profiles" within the Smooks context.  These profiles ("type",
-        // "from" and "to") should expand out inside Smooks based on subprofiles that are
-        // statically configured against these profiles in the device-profiles.xml file.  This is a bit 
-        // of a hack but is fine for now just to get the ball rolling...
-        smooks.registerUseragent(messageUseragent, new String[] {"type:" + messageType, "from:" + messageFrom, "to:" + messageTo});
-        // TODO: Recurcively expand out the profiles supplied here using smooks.getContext().getProfileStore().  Do this inside SmooksStandalone
-	}
-
-	/* (non-Javadoc)
-	 * @see org.jboss.soa.esb.services.transform.TransformationService#transform(java.lang.Object)
-	 */
-	public Object transform(Object message) throws TransformationException {
-		if (! (message instanceof Message))
-			throw new TransformationException("Argument must implement the Message interface");
-		try 
-		{
-			process((Message)message);
-			return message;
-		} catch (ActionProcessingException e) {
-			throw new TransformationException(e);
-		}
-	}
-
-    /* (non-Javadoc)
-     * @see org.jboss.soa.esb.actions.ActionProcessor#process(java.lang.Object)
-     */
-    public Message process(Message message) throws ActionProcessingException {
-    	Object oCurr = ActionUtils.getTaskObject(message);
-    	try {
-	        if(oCurr instanceof String) {
-	            byte[] messageBytes = null;
-	            String transformedMessage;
-	            
-	            try {
-	                messageBytes = ((String)oCurr).getBytes(messageEnc);
-	            } catch (UnsupportedEncodingException e) {
-	                // Can't happen - encoding was already tested in the constructor.
-	            }
-	            
-	            // TODO: Cater for more message input types e.g. InputStream, DOM Document...
-	            // TODO: Cater for more message output types e.g. InputStream, DOM Document...
-	
-	            long start = System.currentTimeMillis();
-	            transformedMessage = smooks.filterAndSerialize(messageUseragent, new ByteArrayInputStream(messageBytes));
-	            if(logger.isDebugEnabled()) {
-	            	long timeTaken = System.currentTimeMillis() - start;
-	            	logger.debug("Transformed message for useragent [" + messageUseragent + "]. Time taken: " 
-	            			+ timeTaken + ".  Message in:\n[" + oCurr.toString()+ "].  \nMessage out:\n[" + transformedMessage + "].");
-	            }
-	            ActionUtils.setTaskObject(message,transformedMessage);
-	        } else {
-	        	String sClass = (null==oCurr) ? "<null>" : oCurr.getClass().getName();
-	            logger.warn("String message types only supported.  Input message was [" 
-	            		+ sClass + "].  Returning message untransformed.");
-	        }
-    	} catch(Throwable thrown) {
-    		throw new ActionProcessingException("Message transformation failed.", thrown);
-    	}
-    	return message;
-    }
-
-    /* (non-Javadoc)
-     * @see org.jboss.soa.esb.actions.ActionProcessor#getOkNotification(java.lang.Object)
-     */
-    public Serializable getOkNotification(Message message) {
-        return null;
-    }
-
-    /* (non-Javadoc)
-     * @see org.jboss.soa.esb.actions.ActionProcessor#getErrorNotification(java.lang.Object)
-     */
-    public Serializable getErrorNotification(Message message) {
-        return null;
-    }
-
-    /**
-     * Initialise the static SmooksStandalone instance.
-     * <p/>
-     * We may need to write a Smooks Container implementation specifically for JBossESB's needs.  SmooksStandalone is
-     * fine for a start though.
-     * @throws ConfigurationException Failed to load Smooks configurations.
-     */
-    protected void initSmooks() throws ConfigurationException {
-        synchronized (SmooksTransformer.class) {
-            if(smooks == null) {
-                InputStream configListStream = getClass().getResourceAsStream(cpPrefix + SMOOKS_CDR_LST);
-                
-                if(configListStream == null) {
-                    throw new ConfigurationException("Failed to locate Smooks configuration list file [" + SMOOKS_CDR_LST + "].  The folder containing this file must be located at " + cpPrefix + " relative to the root of the classpath.");
-                }
-           
-                // TODO:  There's a potential issue here if two SmooksTransformer action configs specify and require
-                // different encodings.   This is because they're all sharing the same static SmooksStandalone instance!!
-                // This should eventually be solveable by creating a proper Smooks container impl for the ESB.
-                smooks = new SmooksStandalone(messageEnc);
-                
-                try {
-                    BufferedReader configReader = new BufferedReader(new InputStreamReader(configListStream));
-                    smooks.getContext().getStore().load(configReader);
-                } catch (Exception e) {
-                    smooks = null;
-                    throw new ConfigurationException("Smooks configuration load failed.", e);
-                }
-            }
-        }
-    }
-    
-    /**
-     * Reset the transformer.
-     * <p/>
-     * Clears the internal static smooks instance.
-     */
-    public static void reset() {
-        synchronized (SmooksTransformer.class) {
-            smooks = null;
-        }
-    }
-}

Added: labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/actions/converters/SmooksTransformer.java
===================================================================
--- labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/actions/converters/SmooksTransformer.java	2006-10-10 14:04:52 UTC (rev 6723)
+++ labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/actions/converters/SmooksTransformer.java	2006-10-10 14:37:27 UTC (rev 6724)
@@ -0,0 +1,228 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.soa.esb.actions.converters;
+
+import java.io.*;
+import java.util.List;
+
+import org.apache.log4j.Logger;
+import org.jboss.soa.esb.ConfigurationException;
+import org.jboss.soa.esb.actions.ActionProcessingException;
+import org.jboss.soa.esb.actions.ActionProcessor;
+import org.jboss.soa.esb.actions.ActionUtils;
+import org.jboss.soa.esb.helpers.KeyValuePair;
+import org.jboss.soa.esb.services.transform.TransformationException;
+import org.jboss.soa.esb.services.transform.TransformationService;
+import org.milyn.SmooksStandalone;
+
+import org.jboss.soa.esb.message.*;
+
+/**
+ * Smooks Transformer.
+ * <p/>
+ * This processor hooks the <a href="http://milyn.codehaus.org/Smooks">Milyn Smooks</a>
+ * XML Transformation/Processing Engine into a message processing pipeline to support
+ * XML message transformations.  
+ * <p/>
+ * Sample Action Configuration:
+ * <pre>
+ * &lt;Action name="Order_Xml-FROM_Acme-TO_AcmePartner" processor="SmooksTransformer"&gt;
+ *     &lt;property name="message-type" value="Order" /&gt; &lt;!-- REQUIRED. --&gt;
+ *     &lt;property name="message-from" value="Acme" /&gt; &lt;!-- REQUIRED. --&gt;
+ *     &lt;property name="message-to" value="AcmePartner" /&gt; &lt;!-- REQUIRED. --&gt;
+ *     &lt;property name="message-encoding" value="UTF-8" /&gt; &lt;!-- OPTIONAL. Default "UTF-8" --&gt;
+ * &lt;/Action&gt;
+ * </pre>
+ * Eventually, all the message properties defined on the action will come from the message metadata.  This will
+ * happen once we have a proper "normalized" message format with message headers etc.
+ * 
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ * @since Version 4.0
+ */
+
+public class SmooksTransformer implements TransformationService, ActionProcessor {
+
+    private static Logger logger = Logger.getLogger(SmooksTransformer.class);
+    private static final String SMOOKS_CDR_LST = "smooks-cdr.lst";
+    private static SmooksStandalone smooks;
+    private String messageType;
+    private String messageFrom;
+    private String messageTo;
+    private String messageEnc;
+    private String messageUseragent;
+    private String cpPrefix;
+    
+    /**
+     * Public constructor.
+     * @param actionName Action name.
+     * @param properties Action Properties.
+     * @throws ConfigurationException 
+     * @throws ConfigurationException Action not properly configured.
+     */
+	public SmooksTransformer(String name, List<KeyValuePair> properties) throws ConfigurationException {
+        messageType = KeyValuePair.getValue("message-type", properties);
+        if(messageType == null || messageType.equals("")) {
+            throw new ConfigurationException("Action configuration 'message-type' not specified.");
+        }
+        messageFrom = KeyValuePair.getValue("message-from", properties);
+        if(messageFrom == null || messageFrom.equals("")) {
+            throw new ConfigurationException("Action configuration 'message-from' not specified.");
+        }
+        messageTo = KeyValuePair.getValue("message-to", properties);
+        if(messageTo == null || messageTo.equals("")) {
+            throw new ConfigurationException("Action configuration 'message-to' not specified.");
+        }
+        messageEnc = KeyValuePair.getValue("message-encoding", properties, "UTF-8");
+        // Test the configured encoding
+        try {
+            "astring".getBytes(messageEnc);
+        } catch (UnsupportedEncodingException e) {
+            throw new ConfigurationException("Invalid character encoding [" + messageEnc + "] on action configuration [" + name + "].", e);
+        }
+
+        // The "cpPrefix" property is "private" and only here in order to make unit testing easier.
+        // It allows us to force a "bad" config location for the smooks-cdr.lst file....
+        cpPrefix = KeyValuePair.getValue("smooks-cdr.list-classpath-prefix", properties, "/");
+        if(!cpPrefix.startsWith("/")) {
+            cpPrefix = "/" + cpPrefix;
+        }
+        
+        initSmooks();
+        
+        // In the context of the ESB, the Smooks useragent will be defined by the message "type", where it's 
+        // coming "from" and where it's going "to"...
+        messageUseragent = messageType + "-" + messageFrom + "-" + messageTo;
+        // Register the message metadata as "profiles" within the Smooks context.  These profiles ("type",
+        // "from" and "to") should expand out inside Smooks based on subprofiles that are
+        // statically configured against these profiles in the device-profiles.xml file.  This is a bit 
+        // of a hack but is fine for now just to get the ball rolling...
+        smooks.registerUseragent(messageUseragent, new String[] {"type:" + messageType, "from:" + messageFrom, "to:" + messageTo});
+        // TODO: Recurcively expand out the profiles supplied here using smooks.getContext().getProfileStore().  Do this inside SmooksStandalone
+	}
+
+	/* (non-Javadoc)
+	 * @see org.jboss.soa.esb.services.transform.TransformationService#transform(org.jboss.soa.esb.message.Message)
+	 */
+	public Message transform(Message message) throws TransformationException {
+		try {
+			return process(message);
+		} catch (ActionProcessingException e) {
+			throw new TransformationException(e);
+		}
+	}
+
+    /* (non-Javadoc)
+     * @see org.jboss.soa.esb.actions.ActionProcessor#process(java.lang.Object)
+     */
+    public Message process(Message message) throws ActionProcessingException {
+    	Object oCurr = ActionUtils.getTaskObject(message);
+    	try {
+	        if(oCurr instanceof String) {
+	            byte[] messageBytes = null;
+	            String transformedMessage;
+	            
+	            try {
+	                messageBytes = ((String)oCurr).getBytes(messageEnc);
+	            } catch (UnsupportedEncodingException e) {
+	                // Can't happen - encoding was already tested in the constructor.
+	            }
+	            
+	            // TODO: Cater for more message input types e.g. InputStream, DOM Document...
+	            // TODO: Cater for more message output types e.g. InputStream, DOM Document...
+	
+	            long start = System.currentTimeMillis();
+	            transformedMessage = smooks.filterAndSerialize(messageUseragent, new ByteArrayInputStream(messageBytes));
+	            if(logger.isDebugEnabled()) {
+	            	long timeTaken = System.currentTimeMillis() - start;
+	            	logger.debug("Transformed message for useragent [" + messageUseragent + "]. Time taken: " 
+	            			+ timeTaken + ".  Message in:\n[" + oCurr.toString()+ "].  \nMessage out:\n[" + transformedMessage + "].");
+	            }
+	            ActionUtils.setTaskObject(message,transformedMessage);
+	        } else {
+	        	String sClass = (null==oCurr) ? "<null>" : oCurr.getClass().getName();
+	            logger.warn("String message types only supported.  Input message was [" 
+	            		+ sClass + "].  Returning message untransformed.");
+	        }
+    	} catch(Throwable thrown) {
+    		throw new ActionProcessingException("Message transformation failed.", thrown);
+    	}
+    	return message;
+    }
+
+    /* (non-Javadoc)
+     * @see org.jboss.soa.esb.actions.ActionProcessor#getOkNotification(java.lang.Object)
+     */
+    public Serializable getOkNotification(Message message) {
+        return null;
+    }
+
+    /* (non-Javadoc)
+     * @see org.jboss.soa.esb.actions.ActionProcessor#getErrorNotification(java.lang.Object)
+     */
+    public Serializable getErrorNotification(Message message) {
+        return null;
+    }
+
+    /**
+     * Initialise the static SmooksStandalone instance.
+     * <p/>
+     * We may need to write a Smooks Container implementation specifically for JBossESB's needs.  SmooksStandalone is
+     * fine for a start though.
+     * @throws ConfigurationException Failed to load Smooks configurations.
+     */
+    protected void initSmooks() throws ConfigurationException {
+        synchronized (SmooksTransformer.class) {
+            if(smooks == null) {
+                InputStream configListStream = getClass().getResourceAsStream(cpPrefix + SMOOKS_CDR_LST);
+                
+                if(configListStream == null) {
+                    throw new ConfigurationException("Failed to locate Smooks configuration list file [" + SMOOKS_CDR_LST + "].  The folder containing this file must be located at " + cpPrefix + " relative to the root of the classpath.");
+                }
+           
+                // TODO:  There's a potential issue here if two SmooksTransformer action configs specify and require
+                // different encodings.   This is because they're all sharing the same static SmooksStandalone instance!!
+                // This should eventually be solveable by creating a proper Smooks container impl for the ESB.
+                smooks = new SmooksStandalone(messageEnc);
+                
+                try {
+                    BufferedReader configReader = new BufferedReader(new InputStreamReader(configListStream));
+                    smooks.getContext().getStore().load(configReader);
+                } catch (Exception e) {
+                    smooks = null;
+                    throw new ConfigurationException("Smooks configuration load failed.", e);
+                }
+            }
+        }
+    }
+    
+    /**
+     * Reset the transformer.
+     * <p/>
+     * Clears the internal static smooks instance.
+     */
+    public static void reset() {
+        synchronized (SmooksTransformer.class) {
+            smooks = null;
+        }
+    }
+}

Modified: labs/jbossesb/trunk/product/core/listeners/tests/src/org/jboss/soa/esb/actions/SmooksTransformerUnitTest.java
===================================================================
--- labs/jbossesb/trunk/product/core/listeners/tests/src/org/jboss/soa/esb/actions/SmooksTransformerUnitTest.java	2006-10-10 14:04:52 UTC (rev 6723)
+++ labs/jbossesb/trunk/product/core/listeners/tests/src/org/jboss/soa/esb/actions/SmooksTransformerUnitTest.java	2006-10-10 14:37:27 UTC (rev 6724)
@@ -28,6 +28,7 @@
 import junit.framework.TestCase;
 
 import org.jboss.soa.esb.ConfigurationException;
+import org.jboss.soa.esb.actions.converters.SmooksTransformer;
 import org.jboss.soa.esb.helpers.KeyValuePair;
 import org.jboss.soa.esb.message.Message;
 import org.jboss.soa.esb.message.format.MessageFactory;

Modified: labs/jbossesb/trunk/product/core/rosetta/src/org/jboss/soa/esb/services/transform/TransformationService.java
===================================================================
--- labs/jbossesb/trunk/product/core/rosetta/src/org/jboss/soa/esb/services/transform/TransformationService.java	2006-10-10 14:04:52 UTC (rev 6723)
+++ labs/jbossesb/trunk/product/core/rosetta/src/org/jboss/soa/esb/services/transform/TransformationService.java	2006-10-10 14:37:27 UTC (rev 6724)
@@ -21,6 +21,8 @@
  */
 package org.jboss.soa.esb.services.transform;
 
+import org.jboss.soa.esb.message.Message;
+
 /**
  * Transformation Service interface.
  * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
@@ -34,5 +36,5 @@
 	 * @return The transformed message.
 	 * @throws TransformationException An Exception occured during the transformation process.
 	 */
-	public Object transform(Object message) throws TransformationException;
+	public Message transform(Message message) throws TransformationException;
 }

Modified: labs/jbossesb/trunk/product/samples/trailblazer/bankloanbrokerdemo/conf/LoanBrokerConfig.xml.template
===================================================================
--- labs/jbossesb/trunk/product/samples/trailblazer/bankloanbrokerdemo/conf/LoanBrokerConfig.xml.template	2006-10-10 14:04:52 UTC (rev 6723)
+++ labs/jbossesb/trunk/product/samples/trailblazer/bankloanbrokerdemo/conf/LoanBrokerConfig.xml.template	2006-10-10 14:37:27 UTC (rev 6724)
@@ -164,7 +164,7 @@
 			<Alias name="FileToByteArray" class="org.jboss.soa.esb.actions.converters.FileToByteArray" />
 			<Alias name="ByteArrayToString" class="org.jboss.soa.esb.actions.converters.ByteArrayToString" />
 			<Alias name="ObjectToXStream" class="org.jboss.soa.esb.actions.converters.ObjectToXStream" />
-			<Alias name="SmooksTransformer" class="org.jboss.soa.esb.actions.SmooksTransformer" />						
+			<Alias name="SmooksTransformer" class="org.jboss.soa.esb.actions.converters.SmooksTransformer" />						
 			<Alias name="ToBankQuoteResponse" class="org.jboss.soa.esb.samples.loanbroker.actions.ToBankQuoteResponse" />
 			<Alias name="ProcessBanksResponse" class="org.jboss.soa.esb.samples.loanbroker.actions.ProcessBanksResponse" />						
 		</ProcessorAliases>




More information about the jboss-svn-commits mailing list