|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.camel.impl.DefaultEndpoint
akka.camel.internal.component.ActorEndpoint
public class ActorEndpoint
INTERNAL API
Does what an endpoint does, creates consumers and producers for the component. The ActorEndpoint is a Camel org.apache.camel.Endpoint that is used to
receive messages from Camel. Sending messages from the ActorComponent is not supported, a Producer actor should be used instead.
The ActorEndpoints are created by the ActorComponent.
Actors are referenced using actor endpoint URIs of the following format:
[actorPath]?[options]%s,
where [actorPath] refers to the actor path to the actor.
| Constructor Summary | |
|---|---|
ActorEndpoint(java.lang.String uri,
ActorComponent comp,
ActorEndpointPath path,
Camel camel)
|
|
| Method Summary | |
|---|---|
Camel |
camel()
|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor)
The ActorEndpoint only supports receiving messages from Camel. |
ActorProducer |
createProducer()
Creates a new producer which is used send messages into the endpoint. |
boolean |
isSingleton()
Returns true. |
ActorEndpointPath |
path()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface akka.camel.internal.component.ActorEndpointConfig |
|---|
autoAck, getAutoAck, getReplyTimeout, replyTimeout, setAutoAck, setReplyTimeout |
| Constructor Detail |
|---|
public ActorEndpoint(java.lang.String uri,
ActorComponent comp,
ActorEndpointPath path,
Camel camel)
| Method Detail |
|---|
public ActorEndpointPath path()
path in interface ActorEndpointConfigpublic Camel camel()
camel in interface ActorEndpointConfigpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
Producer Actors can be used for sending messages to some other uri/ component type registered in Camel.
processor - (undocumented)
java.lang.UnsupportedOperationException - this method is not supportedpublic ActorProducer createProducer()
public boolean isSingleton()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||