public static class ArtemisMessagingComponent.ServiceAddress implements ArtemisMessagingComponent.ArtemisAddress, MessageRecipientGroup
class ArtemisMessagingComponent.ServiceAddress
implements interface 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.
Constructor and Description |
---|
ServiceAddress(CompositeKey identity)
class ArtemisMessagingComponent.ServiceAddress implements interface MessageRecipientGroup . It holds a queue associated with a service advertised by
zero or more nodes. Each advertising node has an associated consumer. |
Modifier and Type | Method and Description |
---|---|
CompositeKey |
component1() |
ArtemisMessagingComponent.ServiceAddress |
copy(CompositeKey identity)
class ArtemisMessagingComponent.ServiceAddress implements interface MessageRecipientGroup . It holds a queue associated with a service advertised by
zero or more nodes. Each advertising node has an associated consumer. |
boolean |
equals(java.lang.Object p) |
CompositeKey |
getIdentity() |
java.lang.String |
getQueueName() |
int |
hashCode() |
java.lang.String |
toString() |
getQueueName
public ServiceAddress(CompositeKey identity)
class ArtemisMessagingComponent.ServiceAddress
implements interface 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.
identity
- The service identity's owning key.class ArtemisMessagingComponent.ServiceAddress
,
interface MessageRecipientGroup
public java.lang.String getQueueName()
public CompositeKey getIdentity()
public CompositeKey component1()
public ArtemisMessagingComponent.ServiceAddress copy(CompositeKey identity)
class ArtemisMessagingComponent.ServiceAddress
implements interface 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.
identity
- The service identity's owning key.class ArtemisMessagingComponent.ServiceAddress
,
interface MessageRecipientGroup
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)