svn commit: r566330 - /activemq/camel/trunk/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/JournalComponent.java

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r566330 - /activemq/camel/trunk/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/JournalComponent.java

chirino
Author: chirino
Date: Wed Aug 15 13:37:42 2007
New Revision: 566330

URL: http://svn.apache.org/viewvc?view=rev&rev=566330
Log:
Fixing compile issue

Modified:
    activemq/camel/trunk/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/JournalComponent.java

Modified: activemq/camel/trunk/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/JournalComponent.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/JournalComponent.java?view=diff&rev=566330&r1=566329&r2=566330
==============================================================================
--- activemq/camel/trunk/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/JournalComponent.java (original)
+++ activemq/camel/trunk/components/camel-activemq/src/main/java/org/apache/camel/component/activemq/JournalComponent.java Wed Aug 15 13:37:42 2007
@@ -20,8 +20,8 @@
 import java.util.Map;
 
 import org.apache.camel.Endpoint;
+import org.apache.camel.Exchange;
 import org.apache.camel.impl.DefaultComponent;
-import org.apache.camel.impl.DefaultExchange;
 import org.apache.camel.util.IntrospectionSupport;
 
 /**
@@ -29,10 +29,10 @@
  *
  * @version $Revision$
  */
-public class JournalComponent extends DefaultComponent<DefaultExchange> {
+public class JournalComponent extends DefaultComponent<Exchange> {
 
     @Override
-    protected Endpoint<DefaultExchange> createEndpoint(String uri, String remaining, Map parameters) throws Exception {        
+    protected Endpoint<Exchange> createEndpoint(String uri, String remaining, Map parameters) throws Exception {        
         JournalEndpoint endpoint = new JournalEndpoint(uri, this, new File(remaining));
         IntrospectionSupport.setProperties(endpoint, parameters);
         return endpoint;