public class CamelPath$
extends java.lang.Object
to(actorRef)
. In java you could use to(CamelPath.toUri(actorRef)
.
The URI to the actor is exactly the same as the string representation of the ActorPath, except that it can also have optional URI parameters to configure the Consumer Actor.Modifier and Type | Field and Description |
---|---|
static CamelPath$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
CamelPath$() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toUri(ActorRef actorRef)
Converts the actorRef to a Camel URI (string) which can be used in custom routes.
|
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.
|
public static final CamelPath$ MODULE$
public java.lang.String toUri(ActorRef actorRef)
actorRef
- the actorRefpublic java.lang.String toUri(ActorRef actorRef, boolean autoAck, scala.concurrent.duration.Duration replyTimeout)
actorRef
- the actorRefautoAck
- parameter for a Consumer Actor, see ConsumerConfig
replyTimeout
- parameter for a Consumer Actor, see ConsumerConfig