| Package | Description |
|---|---|
| org.pipservices.messaging.queues |
| Modifier and Type | Method and Description |
|---|---|
abstract MessageEnvelop |
MessageQueue.peek(String correlationId)
Peeks a single incoming message from the queue without removing it.
|
MessageEnvelop |
MemoryMessageQueue.peek(String correlationId)
Peeks a single incoming message from the queue without removing it.
|
MessageEnvelop |
IMessageQueue.peek(String correlationId)
Peeks a single incoming message from the queue without removing it.
|
abstract MessageEnvelop |
MessageQueue.receive(String correlationId,
long waitTimeout)
Receives an incoming message and removes it from the queue.
|
MessageEnvelop |
MemoryMessageQueue.receive(String correlationId,
long waitTimeout)
Receives an incoming message and removes it from the queue.
|
MessageEnvelop |
IMessageQueue.receive(String correlationId,
long waitTimeout)
Receives an incoming message and removes it from the queue.
|
| Modifier and Type | Method and Description |
|---|---|
abstract List<MessageEnvelop> |
MessageQueue.peekBatch(String correlationId,
int messageCount)
Peeks multiple incoming messages from the queue without removing them.
|
List<MessageEnvelop> |
MemoryMessageQueue.peekBatch(String correlationId,
int messageCount)
Peeks multiple incoming messages from the queue without removing them.
|
List<MessageEnvelop> |
IMessageQueue.peekBatch(String correlationId,
int messageCount)
Peeks multiple incoming messages from the queue without removing them.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
MessageQueue.abandon(MessageEnvelop message)
Returnes message into the queue and makes it available for all subscribers to
receive it again.
|
void |
MemoryMessageQueue.abandon(MessageEnvelop message)
Returnes message into the queue and makes it available for all subscribers to
receive it again.
|
void |
IMessageQueue.abandon(MessageEnvelop message)
Returns message into the queue and makes it available for all subscribers to
receive it again.
|
abstract void |
MessageQueue.complete(MessageEnvelop message)
Permanently removes a message from the queue.
|
void |
MemoryMessageQueue.complete(MessageEnvelop message)
Permanently removes a message from the queue.
|
void |
IMessageQueue.complete(MessageEnvelop message)
Permanently removes a message from the queue.
|
abstract void |
MessageQueue.moveToDeadLetter(MessageEnvelop message)
Permanently removes a message from the queue and sends it to dead letter
queue.
|
void |
MemoryMessageQueue.moveToDeadLetter(MessageEnvelop message)
Permanently removes a message from the queue and sends it to dead letter
queue.
|
void |
IMessageQueue.moveToDeadLetter(MessageEnvelop message)
Permanently removes a message from the queue and sends it to dead letter
queue.
|
void |
IMessageReceiver.receiveMessage(MessageEnvelop message,
IMessageQueue queue)
Receives incoming message from the queue.
|
abstract void |
MessageQueue.renewLock(MessageEnvelop message,
long lockTimeout)
Renews a lock on a message that makes it invisible from other receivers in
the queue.
|
void |
MemoryMessageQueue.renewLock(MessageEnvelop message,
long lockTimeout)
Renews a lock on a message that makes it invisible from other receivers in
the queue.
|
void |
IMessageQueue.renewLock(MessageEnvelop message,
long lockTimeout)
Renews a lock on a message that makes it invisible from other receivers in
the queue.
|
abstract void |
MessageQueue.send(String correlationId,
MessageEnvelop message)
Sends a message into the queue.
|
void |
MemoryMessageQueue.send(String correlationId,
MessageEnvelop message)
Sends a message into the queue.
|
void |
IMessageQueue.send(String correlationId,
MessageEnvelop envelop)
Sends a message into the queue.
|
Copyright © 2018. All rights reserved.