Keep the order of buffered messages in Camel producer, see #3477
* fix bug in java sample * doc corrections
This commit is contained in:
parent
1cca2b85e3
commit
a481272b67
15 changed files with 101 additions and 99 deletions
|
|
@ -20,7 +20,7 @@ import org.apache.camel.model.RouteDefinition
|
|||
import akka.actor.{ ExtendedActorSystem, ActorRef, Props, ActorSystem }
|
||||
|
||||
/**
|
||||
* For internal use only.
|
||||
* INTERNAL API
|
||||
* Creates an instance of the Camel subsystem.
|
||||
*
|
||||
* @param system is used to create internal actors needed by camel instance.
|
||||
|
|
@ -30,9 +30,6 @@ import akka.actor.{ ExtendedActorSystem, ActorRef, Props, ActorSystem }
|
|||
*/
|
||||
private[camel] class DefaultCamel(val system: ExtendedActorSystem) extends Camel {
|
||||
val supervisor = system.actorOf(Props[CamelSupervisor], "camel-supervisor")
|
||||
/**
|
||||
* For internal use only.
|
||||
*/
|
||||
private[camel] implicit val log = Logging(system, "Camel")
|
||||
|
||||
lazy val context: DefaultCamelContext = {
|
||||
|
|
@ -52,7 +49,7 @@ private[camel] class DefaultCamel(val system: ExtendedActorSystem) extends Camel
|
|||
/**
|
||||
* Starts camel and underlying camel context and template.
|
||||
* Only the creator of Camel should start and stop it.
|
||||
* @see akka.camel.DefaultCamel#stop()
|
||||
* @see akka.camel.DefaultCamel#shutdown()
|
||||
*/
|
||||
def start(): this.type = {
|
||||
context.start()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue