com.liferay.portal.kernel.nio.intraband.messaging
Class MessageRoutingBag
java.lang.Object
com.liferay.portal.kernel.nio.intraband.messaging.MessageRoutingBag
- All Implemented Interfaces:
- Externalizable, Serializable
public class MessageRoutingBag
- extends Object
- implements Externalizable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MESSAGE_ROUTING_BAG
public static final String MESSAGE_ROUTING_BAG
- See Also:
- Constant Field Values
MessageRoutingBag
public MessageRoutingBag()
MessageRoutingBag
public MessageRoutingBag(Message message,
boolean synchronizedBridge)
fromByteArray
public static MessageRoutingBag fromByteArray(byte[] data)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
appendRoutingId
public void appendRoutingId(String routingId)
getDestinationName
public String getDestinationName()
getMessage
public Message getMessage()
throws ClassNotFoundException
- Throws:
ClassNotFoundException
getMessageData
public byte[] getMessageData()
isRoutingDowncast
public boolean isRoutingDowncast()
isSynchronizedBridge
public boolean isSynchronizedBridge()
isVisited
public boolean isVisited(String routingId)
readExternal
public void readExternal(ObjectInput objectInput)
throws ClassNotFoundException,
IOException
- Specified by:
readExternal
in interface Externalizable
- Throws:
ClassNotFoundException
IOException
setMessage
public void setMessage(Message message)
setRoutingDowncast
public void setRoutingDowncast(boolean routingDowncast)
toByteArray
public byte[] toByteArray()
writeExternal
public void writeExternal(ObjectOutput objectOutput)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException