object CamelPath
Converts ActorRefs and actorPaths to URI's that point to the actor through the Camel Actor Component.
Can also be used in the Java API as a helper for custom route builders. the Scala API has an implicit conversion in the camel package to
directly use 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.
- Source
- ActorComponent.scala
- Alphabetic
- By Inheritance
- CamelPath
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
toUri(actorRef: ActorRef, autoAck: Boolean, replyTimeout: Duration): String
Converts the actorRef to a Camel URI (string) which can be used in custom routes.
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.
- actorRef
the actorRef
- autoAck
parameter for a Consumer Actor, see akka.camel.ConsumerConfig
- replyTimeout
parameter for a Consumer Actor, see akka.camel.ConsumerConfig
- returns
the Camel URI to the Consumer Actor, including the parameters for auto acknowledgement and replyTimeout.
-
def
toUri(actorRef: ActorRef): String
Converts the actorRef to a Camel URI (string) which can be used in custom routes.
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.
- actorRef
the actorRef
- returns
the Camel URI to the actor.
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )