public class NetworkBridgeFilter extends Object implements DataStructure, BooleanExpression
| Modifier and Type | Field and Description |
|---|---|
static byte |
DATA_STRUCTURE_TYPE |
protected BrokerId |
networkBrokerId |
protected int |
networkTTL |
| Constructor and Description |
|---|
NetworkBridgeFilter() |
NetworkBridgeFilter(BrokerId networkBrokerId,
int networkTTL) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
contains(BrokerId[] brokerPath,
BrokerId brokerId) |
Object |
evaluate(MessageEvaluationContext message) |
byte |
getDataStructureType() |
BrokerId |
getNetworkBrokerId() |
int |
getNetworkTTL() |
boolean |
isMarshallAware() |
boolean |
matches(MessageEvaluationContext mec) |
protected boolean |
matchesForwardingFilter(Message message,
MessageEvaluationContext mec) |
void |
setNetworkBrokerId(BrokerId remoteBrokerPath) |
void |
setNetworkTTL(int networkTTL) |
public static final byte DATA_STRUCTURE_TYPE
protected BrokerId networkBrokerId
protected int networkTTL
public NetworkBridgeFilter()
public NetworkBridgeFilter(BrokerId networkBrokerId, int networkTTL)
public byte getDataStructureType()
getDataStructureType in interface DataStructurepublic boolean isMarshallAware()
isMarshallAware in interface DataStructurepublic boolean matches(MessageEvaluationContext mec) throws javax.jms.JMSException
matches in interface BooleanExpressionjavax.jms.JMSExceptionpublic Object evaluate(MessageEvaluationContext message) throws javax.jms.JMSException
evaluate in interface Expressionjavax.jms.JMSExceptionprotected boolean matchesForwardingFilter(Message message, MessageEvaluationContext mec)
public int getNetworkTTL()
public void setNetworkTTL(int networkTTL)
public BrokerId getNetworkBrokerId()
public void setNetworkBrokerId(BrokerId remoteBrokerPath)
Copyright © 2005–2017. All rights reserved.