Class

akka.camel.javaapi

UntypedConsumerActor

Related Doc: package javaapi

Permalink

abstract class UntypedConsumerActor extends UntypedActor with Consumer

Subclass this abstract class to create an MDB-style untyped consumer actor. This class is meant to be used from Java.

Annotations
@Deprecated
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).

Source
UntypedConsumerActor.scala
Linear Supertypes
Consumer, CamelSupport, UntypedActor, Actor, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UntypedConsumerActor
  2. Consumer
  3. CamelSupport
  4. UntypedActor
  5. Actor
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UntypedConsumerActor()

    Permalink

    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).

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor

Abstract Value Members

  1. abstract def getEndpointUri(): String

    Permalink

    Java API: Returns the Camel endpoint URI to consume messages from.

  2. abstract def onReceive(message: Any): Unit

    Permalink
    Definition Classes
    UntypedActor
    Annotations
    @throws( classOf[java.lang.Throwable] )

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from UntypedConsumerActor to any2stringadd[UntypedConsumerActor] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (UntypedConsumerActor, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from UntypedConsumerActor to ArrowAssoc[UntypedConsumerActor] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def activationTimeout: FiniteDuration

    Permalink

    How long the actor should wait for activation before it fails.

    How long the actor should wait for activation before it fails.

    Definition Classes
    Consumer
  7. def aroundPostRestart(reason: Throwable): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  8. def aroundPostStop(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  9. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  10. def aroundPreStart(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  11. def aroundReceive(receive: actor.Actor.Receive, msg: Any): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def autoAck: Boolean

    Permalink

    Determines whether one-way communications between an endpoint and this consumer actor should be auto-acknowledged or application-acknowledged.

    Determines whether one-way communications between an endpoint and this consumer actor should be auto-acknowledged or application-acknowledged. This flag has only effect when exchange is in-only.

    Definition Classes
    Consumer
  14. val camel: Camel

    Permalink

    INTERNAL API Returns a akka.camel.Camel trait which provides access to the CamelExtension.

    INTERNAL API Returns a akka.camel.Camel trait which provides access to the CamelExtension.

    Attributes
    protected
    Definition Classes
    CamelSupport
  15. implicit def camelContext: DefaultCamelContext

    Permalink

    Returns the CamelContext.

    Returns the CamelContext. The camelContext is defined implicit for simplifying the use of CamelMessage from the Scala API.

    Attributes
    protected
    Definition Classes
    CamelSupport
  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  18. final def endpointUri: String

    Permalink

    Must return the Camel endpoint URI that the consumer wants to consume messages from.

    Must return the Camel endpoint URI that the consumer wants to consume messages from.

    Definition Classes
    UntypedConsumerActorConsumer
  19. def ensuring(cond: (UntypedConsumerActor) ⇒ Boolean, msg: ⇒ Any): UntypedConsumerActor

    Permalink
    Implicit information
    This member is added by an implicit conversion from UntypedConsumerActor to Ensuring[UntypedConsumerActor] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: (UntypedConsumerActor) ⇒ Boolean): UntypedConsumerActor

    Permalink
    Implicit information
    This member is added by an implicit conversion from UntypedConsumerActor to Ensuring[UntypedConsumerActor] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean, msg: ⇒ Any): UntypedConsumerActor

    Permalink
    Implicit information
    This member is added by an implicit conversion from UntypedConsumerActor to Ensuring[UntypedConsumerActor] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: Boolean): UntypedConsumerActor

    Permalink
    Implicit information
    This member is added by an implicit conversion from UntypedConsumerActor to Ensuring[UntypedConsumerActor] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  25. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from UntypedConsumerActor to StringFormat[UntypedConsumerActor] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  27. def getActivation(): Activation

    Permalink

    Java API: Returns the akka.camel.Activation interface that can be used to wait on activation or de-activation of Camel endpoints.

    Java API: Returns the akka.camel.Activation interface that can be used to wait on activation or de-activation of Camel endpoints.

    returns

    the Activation interface

    Attributes
    protected
  28. def getCamelContext(): DefaultCamelContext

    Permalink

    Java API: Returns the org.apache.camel.impl.DefaultCamelContext

    returns

    the CamelContext

    Attributes
    protected
  29. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  30. def getContext(): UntypedActorContext

    Permalink
    Definition Classes
    UntypedActor
  31. def getProducerTemplate(): ProducerTemplate

    Permalink

    Java API: Returns the org.apache.camel.ProducerTemplate

    Java API: Returns the org.apache.camel.ProducerTemplate

    returns

    the ProducerTemplate

    Attributes
    protected
  32. def getRouteDefinitionHandler: Mapper[RouteDefinition, ProcessorDefinition[_]]

    Permalink

    Java API: Returns the akka.dispatch.Mapper function that will be used as a route definition handler for creating custom route to this consumer.

    Java API: Returns the akka.dispatch.Mapper function that will be used as a route definition handler for creating custom route to this consumer. By default it returns an identity function, override this method to return a custom route definition handler. The akka.dispatch.Mapper is not allowed to close over 'this', meaning it is not allowed to refer to the actor instance itself, since that can easily cause concurrent shared state issues.

    Definition Classes
    Consumer
  33. def getSelf(): ActorRef

    Permalink
    Definition Classes
    UntypedActor
  34. def getSender(): ActorRef

    Permalink
    Definition Classes
    UntypedActor
  35. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  36. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  37. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  38. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  39. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  40. def onRouteDefinition: (RouteDefinition) ⇒ ProcessorDefinition[_]

    Permalink

    Returns the route definition handler for creating a custom route to this consumer.

    Returns the route definition handler for creating a custom route to this consumer. By default it returns an identity function, override this method to return a custom route definition handler. The returned function is not allowed to close over 'this', meaning it is not allowed to refer to the actor instance itself, since that can easily cause concurrent shared state issues.

    Definition Classes
    Consumer
  41. def postRestart(reason: Throwable): Unit

    Permalink
    Definition Classes
    UntypedActor → Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  42. def postStop(): Unit

    Permalink
    Definition Classes
    UntypedActor → Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  43. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Definition Classes
    UntypedActor → Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  44. def preStart(): Unit

    Permalink

    Registers the consumer endpoint.

    Registers the consumer endpoint. Note: when overriding this method, be sure to call 'super.preRestart', otherwise the consumer endpoint will not be registered.

    Definition Classes
    Consumer → Actor
    Annotations
    @throws( ... )
  45. final def receive: PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    UntypedActor → Actor
  46. def replyTimeout: FiniteDuration

    Permalink

    When endpoint is out-capable (can produce responses) replyTimeout is the maximum time the endpoint can take to send the response before the message exchange fails.

    When endpoint is out-capable (can produce responses) replyTimeout is the maximum time the endpoint can take to send the response before the message exchange fails. It defaults to 1 minute. This setting is used for out-capable, in-only, manually acknowledged communication.

    Definition Classes
    Consumer
  47. implicit final val self: ActorRef

    Permalink
    Definition Classes
    Actor
  48. final def sender(): ActorRef

    Permalink
    Definition Classes
    Actor
  49. def supervisorStrategy: SupervisorStrategy

    Permalink
    Definition Classes
    UntypedActor → Actor
  50. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  51. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  52. def unhandled(message: Any): Unit

    Permalink
    Definition Classes
    UntypedActor → Actor
  53. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. def [B](y: B): (UntypedConsumerActor, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from UntypedConsumerActor to ArrowAssoc[UntypedConsumerActor] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Consumer

Inherited from CamelSupport

Inherited from UntypedActor

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from UntypedConsumerActor to any2stringadd[UntypedConsumerActor]

Inherited by implicit conversion StringFormat from UntypedConsumerActor to StringFormat[UntypedConsumerActor]

Inherited by implicit conversion Ensuring from UntypedConsumerActor to Ensuring[UntypedConsumerActor]

Inherited by implicit conversion ArrowAssoc from UntypedConsumerActor to ArrowAssoc[UntypedConsumerActor]

Ungrouped