Class ActorComponent

  • All Implemented Interfaces:
    org.apache.camel.CamelContextAware, org.apache.camel.Component, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.StatefulService, org.apache.camel.SuspendableService

    public class ActorComponent
    extends org.apache.camel.impl.DefaultComponent
    INTERNAL API Creates Camel Endpoints that send messages to Consumer actors through an ActorProducer. The ActorComponent is a Camel Component.

    Camel integrates with Akka through this component. The DefaultCamel module adds the ActorComponent to the CamelContext under the 'actor' component name. Messages are sent to Consumer actors through a ActorEndpoint that this component provides.

    • Field Summary

      • Fields inherited from class org.apache.camel.support.ServiceSupport

        shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ActorEndpoint createEndpoint​(java.lang.String uri, java.lang.String remaining, java.util.Map<java.lang.String,​java.lang.Object> parameters)  
      • Methods inherited from class org.apache.camel.impl.DefaultComponent

        afterConfiguration, createComponentConfiguration, createConfiguration, createEndpoint, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
      • Methods inherited from class org.apache.camel.support.ServiceSupport

        doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • createEndpoint

        public ActorEndpoint createEndpoint​(java.lang.String uri,
                                            java.lang.String remaining,
                                            java.util.Map<java.lang.String,​java.lang.Object> parameters)
        Specified by:
        createEndpoint in class org.apache.camel.impl.DefaultComponent
        Parameters:
        uri - (undocumented)
        remaining - (undocumented)
        parameters - (undocumented)
        Returns:
        (undocumented)
        See Also:
        Component