akka.package.scala Maven / Gradle / Ivy
The newest version!
/**
* Copyright (C) 2009-2014 Typesafe Inc.
*/
package akka
import language.implicitConversions
import org.apache.camel.model.ProcessorDefinition
package object camel {
/**
* To allow using Actors with the Camel Route DSL:
*
* {{{
* from("file://data/input/CamelConsumer").to(actor)
* }}}
*/
implicit def toActorRouteDefinition[T <: ProcessorDefinition[T]](definition: ProcessorDefinition[T]) = new ActorRouteDefinition(definition)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy