com.r3corda.node.services.messaging / ArtemisMessagingComponent

ArtemisMessagingComponent

abstract class ArtemisMessagingComponent : SingletonSerializeAsToken

The base class for Artemis services that defines shared data structures and transport configuration

Parameters

directory - A place where Artemis can stash its message journal and other files.

config - The config object is used to pass in the passwords for the certificate KeyStore and TrustStore


Types

Address data class Address : SingleMessageRecipient
ConnectionDirection enum class ConnectionDirection

Constructors

<init> ArtemisMessagingComponent(directory: Path, config: NodeConfiguration)

The base class for Artemis services that defines shared data structures and transport configuration

Properties

config val config: NodeConfiguration
directory val directory: Path

Functions

configureWithDevSSLCertificate fun configureWithDevSSLCertificate(): Unit

Strictly for dev only automatically construct a server certificate/private key signed from the CA certs in Node resources. Then provision KeyStores into certificates folder under node path.

tcpTransport fun tcpTransport(direction: ConnectionDirection, host: String, port: Int): <ERROR CLASS>

Inherited Functions

toToken open fun toToken(context: SerializeAsTokenContext): SerializationToken

Inheritors

ArtemisMessagingClient class ArtemisMessagingClient : ArtemisMessagingComponent, MessagingServiceInternal

This class implements the MessagingService API using Apache Artemis, the successor to their ActiveMQ product. Artemis is a message queue broker and here we run a client connecting to the specified broker instance ArtemisMessagingServer

ArtemisMessagingServer class ArtemisMessagingServer : ArtemisMessagingComponent

This class configures and manages an Apache Artemis message queue broker.