corda / net.corda.node.services.messaging / ArtemisMessagingServer / <init>

# <init>

`ArtemisMessagingServer(config: NodeConfiguration, artemisHostPort: HostAndPort, rpcHostPort: HostAndPort?, networkMapCache: NetworkMapCache, userService: RPCUserService)`

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.