Class UntypedConsumerActor

  • All Implemented Interfaces:
    Actor, CamelSupport, Consumer

    public abstract class UntypedConsumerActor
    extends UntypedActor
    implements Consumer
    Deprecated.
    Akka Camel is deprecated since 2.5.0 in favour of 'Alpakka', the Akka Streams based collection of integrations to various endpoints (including Camel).
    Subclass this abstract class to create an MDB-style untyped consumer actor. This class is meant to be used from Java.

    • Constructor Detail

      • UntypedConsumerActor

        public UntypedConsumerActor()
        Deprecated.
    • Method Detail

      • camel

        protected Camel camel()
        Deprecated.
        Description copied from interface: CamelSupport
        INTERNAL API Returns a Camel trait which provides access to the CamelExtension.
        Specified by:
        camel in interface CamelSupport
        Returns:
        (undocumented)
      • endpointUri

        public final java.lang.String endpointUri()
        Deprecated.
        Description copied from interface: Consumer
        Must return the Camel endpoint URI that the consumer wants to consume messages from.
        Specified by:
        endpointUri in interface Consumer
        Returns:
        (undocumented)
      • getActivation

        protected Activation getActivation()
        Deprecated.
        Java API: Returns the Activation interface that can be used to wait on activation or de-activation of Camel endpoints.
        Returns:
        the Activation interface
      • getCamelContext

        protected org.apache.camel.impl.DefaultCamelContext getCamelContext()
        Deprecated.
        Java API: Returns the DefaultCamelContext
        Returns:
        the CamelContext
      • getEndpointUri

        public abstract java.lang.String getEndpointUri()
        Deprecated.
        Java API: Returns the Camel endpoint URI to consume messages from.
        Returns:
        (undocumented)
      • getProducerTemplate

        protected org.apache.camel.ProducerTemplate getProducerTemplate()
        Deprecated.
        Java API: Returns the ProducerTemplate
        Returns:
        the ProducerTemplate