Making sure that Akka Camel compiles and that the tests pass, also moving the examples from the sources to the tests.
This commit is contained in:
parent
7fdb2c72e4
commit
0ec97ab5c6
21 changed files with 35 additions and 1 deletions
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
package akka.camel
|
||||
|
||||
import language.postfixOps
|
||||
|
||||
import internal.component.DurationTypeConverter
|
||||
import org.apache.camel.model.{ RouteDefinition, ProcessorDefinition }
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
package akka.camel.internal.component
|
||||
|
||||
import language.postfixOps
|
||||
|
||||
import java.util.{ Map ⇒ JMap }
|
||||
|
||||
import org.apache.camel._
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
package akka
|
||||
|
||||
import language.implicitConversions
|
||||
|
||||
import org.apache.camel.model.ProcessorDefinition
|
||||
|
||||
package object camel {
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
package akka.camel
|
||||
|
||||
import language.postfixOps
|
||||
|
||||
import org.scalatest.matchers.MustMatchers
|
||||
import akka.util.duration._
|
||||
import org.apache.camel.ProducerTemplate
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
package akka.camel
|
||||
|
||||
import language.implicitConversions
|
||||
|
||||
import internal.CamelExchangeAdapter
|
||||
import org.apache.camel.impl.DefaultExchange
|
||||
import org.apache.camel.{ Exchange, ExchangePattern }
|
||||
|
|
|
|||
|
|
@ -4,6 +4,9 @@
|
|||
|
||||
package akka.camel
|
||||
|
||||
import language.postfixOps
|
||||
import language.existentials
|
||||
|
||||
import akka.actor._
|
||||
import org.scalatest.matchers.MustMatchers
|
||||
import akka.util.duration._
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
package akka.camel
|
||||
|
||||
import language.postfixOps
|
||||
|
||||
import org.apache.camel.{ Exchange, Processor }
|
||||
import org.apache.camel.builder.RouteBuilder
|
||||
import org.apache.camel.component.mock.MockEndpoint
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
package akka.camel
|
||||
|
||||
import language.postfixOps
|
||||
|
||||
import org.scalatest.matchers.MustMatchers
|
||||
import org.scalatest.WordSpec
|
||||
import akka.camel.TestSupport.SharedCamelSystem
|
||||
|
|
|
|||
|
|
@ -4,6 +4,9 @@
|
|||
|
||||
package akka.camel
|
||||
|
||||
import language.postfixOps
|
||||
import language.implicitConversions
|
||||
|
||||
import akka.actor.{ Props, ActorSystem, Actor }
|
||||
import akka.util.duration._
|
||||
import java.util.concurrent.{ TimeoutException, ExecutionException, TimeUnit }
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
package akka.camel
|
||||
|
||||
import language.postfixOps
|
||||
|
||||
import org.apache.camel.{ Exchange, Processor }
|
||||
import org.apache.camel.builder.RouteBuilder
|
||||
import org.apache.camel.component.mock.MockEndpoint
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
package akka.camel.internal
|
||||
|
||||
import language.postfixOps
|
||||
|
||||
import org.scalatest.matchers.MustMatchers
|
||||
import akka.util.duration._
|
||||
import org.scalatest.{ GivenWhenThen, BeforeAndAfterEach, BeforeAndAfterAll, WordSpec }
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
package akka.camel.internal.component
|
||||
|
||||
import language.postfixOps
|
||||
|
||||
import org.scalatest.matchers.MustMatchers
|
||||
import akka.util.duration._
|
||||
import akka.camel.TestSupport.SharedCamelSystem
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
package akka.camel.internal.component
|
||||
|
||||
import language.postfixOps
|
||||
|
||||
import org.scalatest.mock.MockitoSugar
|
||||
import org.mockito.Matchers.{ eq ⇒ the, any }
|
||||
import org.mockito.Mockito._
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
package akka.camel.internal.component
|
||||
|
||||
import language.postfixOps
|
||||
|
||||
import org.scalatest.matchers.MustMatchers
|
||||
import akka.util.duration._
|
||||
import akka.util.Duration
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
package akka.camelexamples
|
||||
|
||||
import language.postfixOps
|
||||
|
||||
import akka.camel._
|
||||
import akka.util.duration._
|
||||
import akka.actor.{ Actor, OneForOneStrategy }
|
||||
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
package akka.camelexamples
|
||||
|
||||
import language.implicitConversions
|
||||
|
||||
import java.io.FileWriter
|
||||
|
||||
private[camelexamples] object RichString {
|
||||
|
|
@ -508,7 +508,7 @@ object OSGi {
|
|||
|
||||
val agent = exports(Seq("akka.agent.*"))
|
||||
|
||||
val camel = exports(Seq("akka.camel.*", "akka.camelexamples"))
|
||||
val camel = exports(Seq("akka.camel.*"))
|
||||
|
||||
val cluster = exports(Seq("akka.cluster.*"))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue