Package akka.camel.internal.component
Class CamelPath$
- java.lang.Object
-
- akka.camel.internal.component.CamelPath$
-
public class CamelPath$ extends java.lang.Object
Converts the actorRef to a Camel URI (string) which can be used in custom routes. The created URI will have no parameters, it is purely the string representation of the actor's path. param: actorRef the actorRef
-
-
Field Summary
Fields Modifier and Type Field Description static CamelPath$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description CamelPath$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toUri(ActorRef actorRef)
java.lang.String
toUri(ActorRef actorRef, boolean autoAck, scala.concurrent.duration.Duration replyTimeout)
Converts the actorRef to a Camel URI (string) which can be used in custom routes.
-
-
-
Field Detail
-
MODULE$
public static final CamelPath$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
toUri
public java.lang.String toUri(ActorRef actorRef)
-
toUri
public java.lang.String toUri(ActorRef actorRef, boolean autoAck, scala.concurrent.duration.Duration replyTimeout)
Converts the actorRef to a Camel URI (string) which can be used in custom routes. Use this version of toUri when you know that the actorRef points to a Consumer Actor and you would like to set autoAck and replyTimeout parameters to non-default values.- Parameters:
actorRef
- the actorRefautoAck
- parameter for a Consumer Actor, seeConsumerConfig
replyTimeout
- parameter for a Consumer Actor, seeConsumerConfig
- Returns:
- the Camel URI to the Consumer Actor, including the parameters for auto acknowledgement and replyTimeout.
-
-