net.corda.node.services.messaging / ArtemisMessagingComponent / ServiceAddress

ServiceAddress

data class ServiceAddress : ArtemisAddress, MessageRecipientGroup

ServiceAddress implements MessageRecipientGroup. It holds a queue associated with a service advertised by zero or more nodes. Each advertising node has an associated consumer.

By sending to such an address Artemis will pick a consumer (uses Round Robin by default) and sends the message there. We use this to establish sessions involving service counterparties.



Parameters

identity - The service identitys owning key.


Constructors

<init> ServiceAddress(identity: CompositeKey)

ServiceAddress implements MessageRecipientGroup. It holds a queue associated with a service advertised by zero or more nodes. Each advertising node has an associated consumer.

Properties

identity val identity: CompositeKey
queueName val queueName: <ERROR CLASS>