io
.
gatling
.
amqp
.
infra
AmqpConsumer
Related Doc:
package infra
class
AmqpConsumer
extends
AmqpActor
with
Stats
Linear Supertypes
Stats
,
AmqpActor
,
Logging
,
BaseActor
,
LazyLogging
,
ActorNames
,
Actor
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
AmqpConsumer
Stats
AmqpActor
Logging
BaseActor
LazyLogging
ActorNames
Actor
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
AmqpConsumer
(
actorName:
String
,
session:
Session
)
(
implicit
_amqp:
AmqpProtocol
)
Type Members
case class
Delivered
(
startedAt:
Long
,
stoppedAt:
Long
,
delivery:
Delivery
)
extends
Product
with
Serializable
case class
DeliveryTimeouted
(
msec:
Long
)
extends
RuntimeException
with
Product
with
Serializable
type
Receive
=
PartialFunction
[
Any
,
Unit
]
Definition Classes
Actor
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
var
_channel
:
Option
[
Channel
]
Attributes
protected
Definition Classes
AmqpActor
def
actorName
(
base:
String
)
:
String
Definition Classes
ActorNames
implicit
val
amqp
:
AmqpProtocol
Definition Classes
AmqpConsumer
→
Stats
def
aroundPostRestart
(
reason:
Throwable
)
:
Unit
Attributes
protected[
akka
]
Definition Classes
Actor
def
aroundPostStop
()
:
Unit
Attributes
protected[
akka
]
Definition Classes
Actor
def
aroundPreRestart
(
reason:
Throwable
,
message:
Option
[
Any
]
)
:
Unit
Attributes
protected[
akka
]
Definition Classes
Actor
def
aroundPreStart
()
:
Unit
Attributes
protected[
akka
]
Definition Classes
Actor
def
aroundReceive
(
receive:
akka.actor.Actor.Receive
,
msg:
Any
)
:
Unit
Attributes
protected[
akka
]
Definition Classes
Actor
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
channel
:
Channel
Attributes
protected
Definition Classes
AmqpActor
val
checkTerminationInterval
:
FiniteDuration
lazy val
className
:
String
Attributes
protected
Definition Classes
Logging
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
close
()
:
Unit
Attributes
protected
Definition Classes
AmqpActor
lazy val
conn
:
Connection
Attributes
protected
Definition Classes
AmqpActor
def
consumeAsync
(
req:
ConsumeRequest
)
:
Unit
Attributes
protected
def
consumeSync
(
queueName:
String
)
:
Unit
Attributes
protected
implicit
val
context
:
ActorContext
Definition Classes
Actor
def
deliveryFailed
(
err:
Throwable
)
:
Unit
Attributes
protected
def
deliveryFound
(
delivered:
Delivered
)
:
Unit
Attributes
protected
val
deliveryTimeout
:
Int
def
deliveryTimeouted
(
msec:
Long
)
:
Unit
Attributes
protected
implicit
def
dispatcher
:
ExecutionContextExecutor
Definition Classes
BaseActor
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
val
initialTimeout
:
Int
def
interact
[
A
]
(
successMsg:
Any
)
(
action: (
Channel
) ⇒
A
)
:
Unit
Attributes
protected
Definition Classes
AmqpActor
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isOpened
:
Boolean
Attributes
protected
Definition Classes
AmqpActor
val
log
:
Logger
Attributes
protected
Definition Classes
Logging
lazy val
logger
:
Logger
Attributes
protected
Definition Classes
LazyLogging
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
onChannel
[
A
]
(
action: (
Channel
) ⇒
A
)
:
A
Attributes
protected
Definition Classes
AmqpActor
def
open
()
:
Unit
Attributes
protected
Definition Classes
AmqpActor
def
postRestart
(
reason:
Throwable
)
:
Unit
Definition Classes
Actor
Annotations
@throws
(
classOf[java.lang.Exception]
)
def
postStop
()
:
Unit
Definition Classes
AmqpActor
→
Logging
→ Actor
def
preRestart
(
reason:
Throwable
,
message:
Option
[
Any
]
)
:
Unit
Definition Classes
AmqpActor
→ BaseActor → Actor
def
preStart
()
:
Unit
Definition Classes
AmqpConsumer
→
AmqpActor
→
Logging
→ BaseActor → Actor
def
receive
:
PartialFunction
[
Any
,
Unit
]
Definition Classes
AmqpConsumer
→ Actor
val
runningTimeout
:
Int
def
scheduler
:
Scheduler
Definition Classes
BaseActor
implicit final
val
self
:
ActorRef
Definition Classes
Actor
final
def
sender
()
:
ActorRef
Definition Classes
Actor
def
statsNg
(
session:
Session
,
startedAt:
Long
,
stoppedAt:
Long
,
title:
String
,
code:
Option
[
String
]
,
mes:
String
)
:
Unit
Attributes
protected
Definition Classes
Stats
def
statsOk
(
session:
Session
,
startedAt:
Long
,
stoppedAt:
Long
,
title:
String
,
code:
Option
[
String
] =
None
)
:
Unit
Attributes
protected
Definition Classes
Stats
def
stopMessage
:
String
Attributes
protected
Definition Classes
AmqpConsumer
→
Logging
def
supervisorStrategy
:
SupervisorStrategy
Definition Classes
Actor
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
implicit
def
system
:
ActorSystem
Definition Classes
BaseActor
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
tryNextDelivery
(
timeoutMsec:
Long
)
:
Try
[
Delivered
]
Attributes
protected
def
unhandled
(
message:
Any
)
:
Unit
Definition Classes
BaseActor → Actor
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
Stats
Inherited from
AmqpActor
Inherited from
Logging
Inherited from
BaseActor
Inherited from
LazyLogging
Inherited from
ActorNames
Inherited from
Actor
Inherited from
AnyRef
Inherited from
Any
Ungrouped