public class ClientIdFilterDispatchPolicy extends SimpleDispatchPolicy
| Modifier and Type | Field and Description |
|---|---|
static String |
PTP_CLIENTID |
static String |
PTP_SUFFIX |
| Constructor and Description |
|---|
ClientIdFilterDispatchPolicy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
dispatch(org.apache.activemq.broker.region.MessageReference node,
org.apache.activemq.filter.MessageEvaluationContext msgContext,
List<Subscription> consumers)
Decides how to dispatch a selected message to a collection of consumers.
|
String |
getPtpClientId() |
String |
getPtpSuffix() |
void |
setPtpClientId(String ptpClientId) |
void |
setPtpSuffix(String ptpSuffix) |
public static final String PTP_CLIENTID
public static final String PTP_SUFFIX
public ClientIdFilterDispatchPolicy()
public boolean dispatch(org.apache.activemq.broker.region.MessageReference node, org.apache.activemq.filter.MessageEvaluationContext msgContext, List<Subscription> consumers) throws Exception
DispatchPolicydispatch in interface DispatchPolicydispatch in class SimpleDispatchPolicyExceptionpublic String getPtpClientId()
public void setPtpClientId(String ptpClientId)
public String getPtpSuffix()
public void setPtpSuffix(String ptpSuffix)
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.