activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r522500 - in /activemq/camel/trunk/camel-jbi/src/main/java/org/apache/camel/component/jbi: JbiBinding.java ToJbiProcessor2.java
Date Mon, 26 Mar 2007 12:41:45 GMT
Author: jstrachan
Date: Mon Mar 26 05:41:44 2007
New Revision: 522500

URL: http://svn.apache.org/viewvc?view=rev&rev=522500
Log:
removed some cruft

Removed:
    activemq/camel/trunk/camel-jbi/src/main/java/org/apache/camel/component/jbi/ToJbiProcessor2.java
Modified:
    activemq/camel/trunk/camel-jbi/src/main/java/org/apache/camel/component/jbi/JbiBinding.java

Modified: activemq/camel/trunk/camel-jbi/src/main/java/org/apache/camel/component/jbi/JbiBinding.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-jbi/src/main/java/org/apache/camel/component/jbi/JbiBinding.java?view=diff&rev=522500&r1=522499&r2=522500
==============================================================================
--- activemq/camel/trunk/camel-jbi/src/main/java/org/apache/camel/component/jbi/JbiBinding.java
(original)
+++ activemq/camel/trunk/camel-jbi/src/main/java/org/apache/camel/component/jbi/JbiBinding.java
Mon Mar 26 05:41:44 2007
@@ -56,26 +56,9 @@
         return jbiExchange;
     }
 
-    /**
-     * Creates a JBI {@link MessageExchange} from the given Camel {@link Exchange}
-     *
-     */
-    public MessageExchange makeJbiMessageExchange(Exchange camelExchange, Destination jbiDestination)
throws MessagingException {
-        MessageExchange jbiExchange = createJbiMessageExchange(camelExchange, jbiDestination);
-        NormalizedMessage normalizedMessage = jbiExchange.getMessage("in");
-        normalizedMessage.setContent(getJbiInContent(camelExchange));
-        addJbiHeaders(jbiExchange, normalizedMessage, camelExchange);
-        return jbiExchange;
-    }
-
     protected MessageExchange createJbiMessageExchange(Exchange camelExchange, MessageExchangeFactory
exchangeFactory) throws MessagingException {
         // TODO we should deal with other forms of MEP
         return exchangeFactory.createInOnlyExchange();
-    }
-
-    protected MessageExchange createJbiMessageExchange(Exchange camelExchange, Destination
jbiDestination) throws MessagingException {
-        // TODO we should deal with other forms of MEP
-        return jbiDestination.createInOnlyExchange();
     }
 
     protected Source getJbiInContent(Exchange camelExchange) {



Mime
View raw message