Trait

akka.camel

Consumer

Related Doc: package camel

Permalink

trait Consumer extends Actor with CamelSupport

Mixed in by Actor implementations that consume message from Camel endpoints.

Annotations
@deprecated
Deprecated

(Since version 2.5.0) Akka Camel is deprecated in favour of 'Alpakka', the Akka Streams based collection of integrations to various endpoints (including Camel).

Source
Consumer.scala
Linear Supertypes
CamelSupport, Actor, AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Consumer
  2. CamelSupport
  3. Actor
  4. AnyRef
  5. 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

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor

Abstract Value Members

  1. abstract def endpointUri: String

    Permalink

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

  2. abstract def receive: actor.Actor.Receive

    Permalink
    Definition Classes
    Actor

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 Consumer to any2stringadd[Consumer] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Consumer, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Consumer to ArrowAssoc[Consumer] 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.

  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.

  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. def ensuring(cond: (Consumer) ⇒ Boolean, msg: ⇒ Any): Consumer

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

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

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

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

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

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

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from Consumer to StringFormat[Consumer] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  26. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  27. 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.

  28. def hashCode(): Int

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  33. 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.

  34. def postRestart(reason: Throwable): Unit

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

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

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  37. 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( ... )
  38. 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.

  39. implicit final val self: ActorRef

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

    Permalink
    Definition Classes
    Actor
  41. def supervisorStrategy: SupervisorStrategy

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

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

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

    Permalink
    Definition Classes
    Actor
  45. final def wait(): Unit

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

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

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

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

Inherited from CamelSupport

Inherited from Actor

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped