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 DataStructure
public boolean isMarshallAware()
isMarshallAware
in interface DataStructure
public boolean matches(MessageEvaluationContext mec) throws javax.jms.JMSException
matches
in interface BooleanExpression
javax.jms.JMSException
public Object evaluate(MessageEvaluationContext message) throws javax.jms.JMSException
evaluate
in interface Expression
javax.jms.JMSException
protected 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 The Apache Software Foundation. All rights reserved.