[jboss-svn-commits] JBL Code SVN: r24230 - labs/jbossesb/workspace/skeagh/api/src/main/java/org/jboss/esb/api/message.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Dec 4 00:30:14 EST 2008


Author: beve
Date: 2008-12-04 00:30:13 -0500 (Thu, 04 Dec 2008)
New Revision: 24230

Removed:
   labs/jbossesb/workspace/skeagh/api/src/main/java/org/jboss/esb/api/message/MessageComposer.java
Log:
Removed the MessageComposer


Deleted: labs/jbossesb/workspace/skeagh/api/src/main/java/org/jboss/esb/api/message/MessageComposer.java
===================================================================
--- labs/jbossesb/workspace/skeagh/api/src/main/java/org/jboss/esb/api/message/MessageComposer.java	2008-12-03 21:18:15 UTC (rev 24229)
+++ labs/jbossesb/workspace/skeagh/api/src/main/java/org/jboss/esb/api/message/MessageComposer.java	2008-12-04 05:30:13 UTC (rev 24230)
@@ -1,66 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source Copyright 2008, Red Hat Middleware
- * LLC, and individual contributors 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.esb.api.message;
-
-import java.util.Properties;
-
-import org.jboss.esb.api.context.InvocationContext;
-
-/**
- * MessageComposer composes/decomposes ESB Messages
- *
- * @author <a href="mailto:dbevenius at jboss.com">Daniel Bevenius</a>
- *
- * @param <T>
- */
-public interface MessageComposer<T>
-{
-    /**
-     * Composes/creates a Message object instance using the information from the
-     * passed in type T.
-     *
-     * @param t The class parameter
-     * @param invocationContext The invocation context.
-     * @return Message An ESB Message object that contains the files contents as its payload.
-     * @throws MessageProcessingException If an error occurs while trying to create the Message object.
-     */
-    Message compose(final T t, final InvocationContext invocationContext) throws MessageProcessingException;
-
-    /**
-     * Decompose can be used for operations like cleanup of anything that is needed to
-     * be performed after the message has been processed.
-     *
-     * @param message The ESB message object instance.
-     * @param t The class parameter
-     * @return Object Any Object.
-     *
-     * @throws MessageProcessingException If an error occurs while decomposeing.
-     */
-    Object decompose(final Message message, final T t) throws MessageProcessingException;
-
-    /**
-     * Allows a MessageComposer implementation receive configuration information.
-     *
-     * @param properties The properties.
-     */
-    void setConfiguration(final Properties properties);
-
-}




More information about the jboss-svn-commits mailing list