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
Exceptionint xaGetTimeout()
void xaSetTimeout(int timeout)
void start()
void stop()
void createQueue(SimpleString address, SimpleString name, SimpleString filterString, boolean temporary, boolean durable) throws Exception
Exceptionvoid deleteQueue(SimpleString name) throws Exception
Exceptionvoid createConsumer(long consumerID,
SimpleString queueName,
SimpleString filterString,
boolean browseOnly)
throws Exception
ExceptionQueueQueryResult executeQueueQuery(SimpleString name) throws Exception
ExceptionBindingQueryResult executeBindingQuery(SimpleString address) throws Exception
Exceptionvoid receiveConsumerCredits(long consumerID,
int credits)
throws Exception
Exceptionvoid sendContinuations(int packetSize,
long totalBodySize,
byte[] body,
boolean continues)
throws Exception
Exceptionvoid send(ServerMessage message, boolean direct) throws Exception
Exceptionvoid sendLarge(MessageInternal msg) throws Exception
Exceptionvoid forceConsumerDelivery(long consumerID,
long sequence)
throws Exception
Exceptionvoid requestProducerCredits(SimpleString address, int credits) throws Exception
Exceptionvoid setTransferring(boolean transferring)
Set<ServerConsumer> getServerConsumers()
String[] getTargetAddresses()
void describeProducersInfo(JSONArray objs) throws Exception
objs - Exceptionlong getCreationTime()
OperationContext getSessionContext()
void setSessionContext(OperationContext context)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.