camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r722421 - in /activemq/camel/trunk/components/camel-scala/src: main/scala/org/apache/camel/scala/dsl/ test/scala/org/apache/camel/scala/dsl/
Date Tue, 02 Dec 2008 10:49:01 GMT
Author: ningjiang
Date: Tue Dec  2 02:49:00 2008
New Revision: 722421

URL: http://svn.apache.org/viewvc?rev=722421&view=rev
Log:
Fixed the build errors of camel-scala

Modified:
    activemq/camel/trunk/components/camel-scala/src/main/scala/org/apache/camel/scala/dsl/SDelayerType.scala
    activemq/camel/trunk/components/camel-scala/src/main/scala/org/apache/camel/scala/dsl/SIdempotentConsumerType.scala
    activemq/camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/IdempotentConsumerTest.scala

Modified: activemq/camel/trunk/components/camel-scala/src/main/scala/org/apache/camel/scala/dsl/SDelayerType.scala
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-scala/src/main/scala/org/apache/camel/scala/dsl/SDelayerType.scala?rev=722421&r1=722420&r2=722421&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-scala/src/main/scala/org/apache/camel/scala/dsl/SDelayerType.scala
(original)
+++ activemq/camel/trunk/components/camel-scala/src/main/scala/org/apache/camel/scala/dsl/SDelayerType.scala
Tue Dec  2 02:49:00 2008
@@ -41,6 +41,6 @@
   }
   def minutes = min
   
-  def valueInMs : Long = target.getDelay().asInstanceOf[Long]
-  def valueInMs_=(period: Long) = target.setDelay(period)
+  def valueInMs : Long = target.getDelayTime().asInstanceOf[Long]
+  def valueInMs_=(period: Long) = target.setDelayTime(period)
 }

Modified: activemq/camel/trunk/components/camel-scala/src/main/scala/org/apache/camel/scala/dsl/SIdempotentConsumerType.scala
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-scala/src/main/scala/org/apache/camel/scala/dsl/SIdempotentConsumerType.scala?rev=722421&r1=722420&r2=722421&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-scala/src/main/scala/org/apache/camel/scala/dsl/SIdempotentConsumerType.scala
(original)
+++ activemq/camel/trunk/components/camel-scala/src/main/scala/org/apache/camel/scala/dsl/SIdempotentConsumerType.scala
Tue Dec  2 02:49:00 2008
@@ -17,7 +17,7 @@
 package org.apache.camel.scala.dsl;
 
 import org.apache.camel.model.IdempotentConsumerType
-import org.apache.camel.processor.idempotent.MemoryMessageIdRepository
+import org.apache.camel.processor.idempotent.MemoryIdempotentRepository
 import org.apache.camel.scala.dsl.builder.RouteBuilder
 
 /**
@@ -28,7 +28,7 @@
   val unwrap = target
   
   def memory(size: Int) = { 
-    target.setMessageIdRepository(MemoryMessageIdRepository.memoryMessageIdRepository(size))
+    target.setMessageIdRepository(MemoryIdempotentRepository.memoryIdempotentRepository(size))
     this
   }
    

Modified: activemq/camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/IdempotentConsumerTest.scala
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/IdempotentConsumerTest.scala?rev=722421&r1=722420&r2=722421&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/IdempotentConsumerTest.scala
(original)
+++ activemq/camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/IdempotentConsumerTest.scala
Tue Dec  2 02:49:00 2008
@@ -17,7 +17,7 @@
 package org.apache.camel.scala.dsl;
  
 import scala.dsl.builder.RouteBuilder
-import org.apache.camel.processor.idempotent.MemoryMessageIdRepository._;
+import org.apache.camel.processor.idempotent.MemoryIdempotentRepository._;
 
 /**
  * Test for an idempotent consumer



Mime
View raw message