blended.itestsupport.jms.protocol.package.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of blended.itestsupport Show documentation
Show all versions of blended.itestsupport Show documentation
Define an integration test API for collaborating blended container(s) using docker as a runtime
for the container(s) under test and an Akka based Camel framework to perform the integration tests
as pure blackbox tests. Container(s) may be prestarted and discovered (for execution speed) or
started by the integration test (for reproducability).
The newest version!
package blended.itestsupport.jms
import javax.jms.DeliveryMode
import akka.actor.ActorRef
package protocol {
import blended.jms.utils.JMSMessageFactory
case class Connect(clientId: String, user: Option[String] = None, password: Option[String] = None)
case class Connected(clientId: String)
case object Disconnect
case object Disconnected
case class CreateProducer(destName: String, msgCounter: Option[ActorRef] = None)
case class CreateConsumer(destName: String, msgCounter: Option[ActorRef] = None)
case class CreateDurableSubscriber(topic: String, subScriberName: String, msgCounter: Option[ActorRef] = None)
case object StopConsumer
case class ProducerActor(producer: ActorRef)
case class ConsumerActor(consumer: ActorRef)
case object Unsubscribe
case class ConsumerStopped(destName: String)
case class JMSCaughtException(inner: Throwable)
}