net.liftmodules.amqp

StringAMQPSender

class StringAMQPSender extends AMQPSender[String]

An example subclass of AMQPSender[T]

An example of how to send messages to an AMQP queue/exchange. Notice that this is setup with the same params as StringAQMPExample. After making a new instance of StringAMQPExample, just send ExampleAMQPSender ! "hi" to see the message "hi" appear in the output log. Fun and Easy!

If you are planning to send lots of messages to lots of different exchange/queues, consider creating Actor-based Senders, that will help your application to scale.

Linear Supertypes
AMQPSender[String], LiftActor, ForwardableActor[Any, Any], GenericActor[Any], TypedActor[Any, Any], SpecializedLiftActor[Any], SimpleActor[Any], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StringAMQPSender
  2. AMQPSender
  3. LiftActor
  4. ForwardableActor
  5. GenericActor
  6. TypedActor
  7. SpecializedLiftActor
  8. SimpleActor
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StringAMQPSender(cf: ConnectionFactory, exchange: String, routingKey: String)

Value Members

  1. def !(msg: Any): Unit

    Definition Classes
    SpecializedLiftActor → SimpleActor
  2. def !!(msg: Any): Box[Any]

    Definition Classes
    LiftActor → TypedActor
  3. def !!(msg: Any, timeout: Long): Box[Any]

    Definition Classes
    LiftActor → TypedActor
  4. def !<(msg: Any): LAFuture[Any]

    Definition Classes
    LiftActor
  5. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  6. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  7. def !?(timeout: Long, message: Any): Box[Any]

    Definition Classes
    LiftActor → TypedActor
  8. def !?(msg: Any): Any

    Definition Classes
    LiftActor → TypedActor
  9. final def ##(): Int

    Definition Classes
    AnyRef → Any
  10. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  12. def around[R](f: ⇒ R): R

    Attributes
    protected
    Definition Classes
    SpecializedLiftActor
  13. def aroundLoans: List[CommonLoanWrapper]

    Attributes
    protected
    Definition Classes
    SpecializedLiftActor
  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. val channel: Channel

    Definition Classes
    AMQPSender
  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. def configure(channel: Channel): Channel

    Override this to use your own AMQP queue/exchange with the given channel.

    Override this to use your own AMQP queue/exchange with the given channel.

    Definition Classes
    StringAMQPSender → AMQPSender
  18. val conn: Connection

    Definition Classes
    AMQPSender
  19. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  21. def exceptionHandler: PartialFunction[Throwable, Unit]

    Attributes
    protected
    Definition Classes
    SpecializedLiftActor
  22. def execTranslate(f: (Any) ⇒ Unit)(v: Any): Unit

    Attributes
    protected
    Definition Classes
    LiftActor → SpecializedLiftActor
  23. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  24. final def forwardMessageTo(msg: Any, forwardTo: TypedActor[Any, Any]): Unit

    Attributes
    protected
    Definition Classes
    LiftActor → ForwardableActor
  25. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  27. def highPriorityReceive: Box[PartialFunction[Any, Unit]]

    Attributes
    protected
    Definition Classes
    SpecializedLiftActor
  28. def insertMsgAtHeadOfQueue_!(msg: Any): Unit

    Attributes
    protected
    Definition Classes
    SpecializedLiftActor
  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. def messageHandler: PartialFunction[Any, Unit]

    Attributes
    protected
    Definition Classes
    AMQPSender → SpecializedLiftActor
  31. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  34. def reply(v: Any): Unit

    Attributes
    protected
    Definition Classes
    LiftActor → ForwardableActor
  35. def send(msg: Any): Unit

    Definition Classes
    SpecializedLiftActor
  36. def sendAndGetFuture(msg: Any): LAFuture[Any]

    Definition Classes
    LiftActor
  37. def sendAndGetReply(timeout: Long, msg: Any): Any

    Definition Classes
    LiftActor
  38. def sendAndGetReply(msg: Any): Any

    Definition Classes
    LiftActor
  39. def sendMsg(msg: String): Unit

    Definition Classes
    AMQPSender
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  41. def testTranslate(f: (Any) ⇒ Boolean)(v: Any): Boolean

    Attributes
    protected
    Definition Classes
    LiftActor → SpecializedLiftActor
  42. def toString(): String

    Definition Classes
    AnyRef → Any
  43. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AMQPSender[String]

Inherited from LiftActor

Inherited from ForwardableActor[Any, Any]

Inherited from GenericActor[Any]

Inherited from TypedActor[Any, Any]

Inherited from SpecializedLiftActor[Any]

Inherited from SimpleActor[Any]

Inherited from AnyRef

Inherited from Any

Ungrouped