public interface ServerSession
Modifier and Type | Method and Description |
---|---|
void |
acknowledge(long consumerID,
long messageID) |
void |
addMetaData(String key,
String data) |
boolean |
addUniqueMetaData(String key,
String data) |
void |
close(boolean failed) |
void |
closeConsumer(long consumerID) |
void |
commit() |
void |
createConsumer(long consumerID,
SimpleString queueName,
SimpleString filterString,
boolean browseOnly) |
void |
createQueue(SimpleString address,
SimpleString name,
SimpleString filterString,
boolean temporary,
boolean durable) |
void |
deleteQueue(SimpleString name) |
void |
describeProducersInfo(JSONArray objs)
Add all the producers detail to the JSONArray object.
|
BindingQueryResult |
executeBindingQuery(SimpleString address) |
QueueQueryResult |
executeQueueQuery(SimpleString name) |
void |
expire(long consumerID,
long messageID) |
void |
forceConsumerDelivery(long consumerID,
long sequence) |
Object |
getConnectionID() |
long |
getCreationTime() |
String |
getLastSentMessageID(String address) |
String |
getMetaData(String key) |
int |
getMinLargeMessageSize() |
String |
getName() |
String |
getPassword() |
Set<ServerConsumer> |
getServerConsumers() |
OperationContext |
getSessionContext() |
String[] |
getTargetAddresses() |
String |
getUsername() |
void |
individualAcknowledge(long consumerID,
long messageID) |
void |
receiveConsumerCredits(long consumerID,
int credits) |
void |
removeConsumer(long consumerID) |
void |
requestProducerCredits(SimpleString address,
int credits) |
void |
rollback(boolean considerLastMessageAsDelivered) |
void |
send(ServerMessage message,
boolean direct) |
void |
sendContinuations(int packetSize,
long totalBodySize,
byte[] body,
boolean continues) |
void |
sendLarge(MessageInternal msg) |
void |
setSessionContext(OperationContext context) |
void |
setTransferring(boolean transferring) |
void |
start() |
void |
stop() |
void |
waitContextCompletion() |
void |
xaCommit(Xid xid,
boolean onePhase) |
void |
xaEnd(Xid xid) |
void |
xaForget(Xid xid) |
List<Xid> |
xaGetInDoubtXids() |
int |
xaGetTimeout() |
void |
xaJoin(Xid xid) |
void |
xaPrepare(Xid xid) |
void |
xaResume(Xid xid) |
void |
xaRollback(Xid xid) |
void |
xaSetTimeout(int timeout) |
void |
xaStart(Xid xid) |
void |
xaSuspend() |
String getName()
String getUsername()
String getPassword()
int getMinLargeMessageSize()
Object getConnectionID()
void individualAcknowledge(long consumerID, long messageID) throws Exception
Exception
int xaGetTimeout()
void xaSetTimeout(int timeout)
void start()
void stop()
void createQueue(SimpleString address, SimpleString name, SimpleString filterString, boolean temporary, boolean durable) throws Exception
Exception
void deleteQueue(SimpleString name) throws Exception
Exception
void createConsumer(long consumerID, SimpleString queueName, SimpleString filterString, boolean browseOnly) throws Exception
Exception
QueueQueryResult executeQueueQuery(SimpleString name) throws Exception
Exception
BindingQueryResult executeBindingQuery(SimpleString address) throws Exception
Exception
void receiveConsumerCredits(long consumerID, int credits) throws Exception
Exception
void sendContinuations(int packetSize, long totalBodySize, byte[] body, boolean continues) throws Exception
Exception
void send(ServerMessage message, boolean direct) throws Exception
Exception
void sendLarge(MessageInternal msg) throws Exception
Exception
void forceConsumerDelivery(long consumerID, long sequence) throws Exception
Exception
void requestProducerCredits(SimpleString address, int credits) throws Exception
Exception
void setTransferring(boolean transferring)
Set<ServerConsumer> getServerConsumers()
String[] getTargetAddresses()
void describeProducersInfo(JSONArray objs) throws Exception
objs
- Exception
long getCreationTime()
OperationContext getSessionContext()
void setSessionContext(OperationContext context)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.