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.Constructor and Description |
---|
CamelPath() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
toUri(ActorRef actorRef)
Converts the actorRef to a Camel URI (string) which can be used in custom routes.
|
static 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 java.lang.String toUri(ActorRef actorRef)
actorRef
- the actorRefpublic static 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