public class PersistentQueueBindingEncoding extends Object implements EncodingSupport, QueueBindingInfo
Modifier and Type | Field and Description |
---|---|
SimpleString |
address |
boolean |
autoCreated |
SimpleString |
filterString |
long |
id |
SimpleString |
name |
List<QueueStatusEncoding> |
queueStatusEncodings |
SimpleString |
user |
Constructor and Description |
---|
PersistentQueueBindingEncoding() |
PersistentQueueBindingEncoding(SimpleString name,
SimpleString address,
SimpleString filterString,
SimpleString user,
boolean autoCreated) |
Modifier and Type | Method and Description |
---|---|
void |
addQueueStatusEncoding(QueueStatusEncoding status) |
void |
decode(ActiveMQBuffer buffer) |
void |
encode(ActiveMQBuffer buffer) |
SimpleString |
getAddress() |
int |
getEncodeSize() |
SimpleString |
getFilterString() |
long |
getId() |
SimpleString |
getQueueName() |
List<QueueStatusEncoding> |
getQueueStatusEncodings() |
SimpleString |
getUser() |
boolean |
isAutoCreated() |
void |
replaceQueueName(SimpleString newName)
used to rename the queue in case of a duplication during load time
|
void |
setId(long id) |
String |
toString() |
public long id
public SimpleString name
public SimpleString address
public SimpleString filterString
public boolean autoCreated
public SimpleString user
public List<QueueStatusEncoding> queueStatusEncodings
public PersistentQueueBindingEncoding()
public PersistentQueueBindingEncoding(SimpleString name, SimpleString address, SimpleString filterString, SimpleString user, boolean autoCreated)
public long getId()
getId
in interface QueueBindingInfo
public void setId(long id)
public SimpleString getAddress()
getAddress
in interface QueueBindingInfo
public void replaceQueueName(SimpleString newName)
QueueBindingInfo
replaceQueueName
in interface QueueBindingInfo
public SimpleString getFilterString()
getFilterString
in interface QueueBindingInfo
public SimpleString getQueueName()
getQueueName
in interface QueueBindingInfo
public SimpleString getUser()
getUser
in interface QueueBindingInfo
public boolean isAutoCreated()
isAutoCreated
in interface QueueBindingInfo
public void addQueueStatusEncoding(QueueStatusEncoding status)
addQueueStatusEncoding
in interface QueueBindingInfo
public List<QueueStatusEncoding> getQueueStatusEncodings()
getQueueStatusEncodings
in interface QueueBindingInfo
public void decode(ActiveMQBuffer buffer)
decode
in interface EncodingSupport
public void encode(ActiveMQBuffer buffer)
encode
in interface EncodingSupport
public int getEncodeSize()
getEncodeSize
in interface EncodingSupport
Copyright © 2017 JBoss by Red Hat. All rights reserved.