class ArtemisMessagingServer : ArtemisMessagingComponent
This class configures and manages an Apache Artemis message queue broker.
Nodes communication is managed using an Artemis specific protocol, but it supports other protocols like AMQP/1.0 as well for interop.
The current implementation is skeletal and lacks features like security or firewall tunnelling (that is, you must be able to receive TCP connections in order to receive messages). It is good enough for local communication within a fully connected network, trusted network or on localhost.
<init> |
ArtemisMessagingServer(config: NodeConfiguration, myHostPort: <ERROR CLASS>, networkMapCache: NetworkMapCache) This class configures and manages an Apache Artemis message queue broker. |
myHostPort |
val myHostPort: <ERROR CLASS> |
networkMapCache |
val networkMapCache: NetworkMapCache |
config |
val config: NodeSSLConfiguration |
bridgeToNetworkMapService |
fun bridgeToNetworkMapService(networkMapService: SingleMessageRecipient?): Unit |
start |
fun start(): Unit |
stop |
fun stop(): Unit |
checkStorePasswords |
fun checkStorePasswords(): Unit Returns nothing if the keystore was opened OK or throws if not. Useful to check the password, as unfortunately Artemis tends to bury the exception when the password is wrong. |
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. |
parseKeyFromQueueName |
fun parseKeyFromQueueName(name: String): PublicKey |
tcpTransport |
fun tcpTransport(direction: ConnectionDirection, host: String, port: Int): <ERROR CLASS> |
log |
val log: <ERROR CLASS> |