|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageQueueService
Service for interfacing with the queue of asynchronous messages.
PersistedMessage
Method Summary | |
---|---|
void |
delete(PersistedMessage routeQueue)
|
List<PersistedMessage> |
findAll()
|
List<PersistedMessage> |
findAll(int maxRows)
|
PersistedMessagePayload |
findByPersistedMessageByRouteQueueId(Long routeQueueId)
|
PersistedMessage |
findByRouteQueueId(Long routeQueueId)
Finds the PersistedMessage identified by the passed-in primary key, if one is available, otherwise returns a null object. |
List<PersistedMessage> |
findByServiceName(QName serviceName,
String methodName)
|
List<PersistedMessage> |
findByValues(Map<String,String> criteriaValues,
int maxRows)
Finds the persisted messages that match the values passed into the criteriaValues Map, with an auto-wildcard function, if no wildcard is passed in. |
Integer |
getMaxRetryAttempts()
Used to determine the maximum number of retries allowed by the system before the message goes into Exception. |
PersistedMessage |
getMessage(ServiceInfo serviceInfo,
AsynchronousCall methodCall)
|
List<PersistedMessage> |
getNextDocuments(Integer maxDocuments)
Returns a List of RouteQueue documents which are queued for routing. |
void |
save(PersistedMessage routeQueue)
|
Method Detail |
---|
List<PersistedMessage> findByServiceName(QName serviceName, String methodName)
void delete(PersistedMessage routeQueue)
void save(PersistedMessage routeQueue)
List<PersistedMessage> findAll()
List<PersistedMessage> findAll(int maxRows)
PersistedMessage findByRouteQueueId(Long routeQueueId)
routeQueueId
- The primary key routeQueueId of the message desired.
List<PersistedMessage> getNextDocuments(Integer maxDocuments)
PersistedMessagePayload findByPersistedMessageByRouteQueueId(Long routeQueueId)
List<PersistedMessage> findByValues(Map<String,String> criteriaValues, int maxRows)
criteriaValues
- A Map of Key/Value pairs, where the Key is a string holding the field
name, and the Value is a string holding the value to match.maxRows
- the maximum number of rows to return from the query. If -1, then all rows will be returned.
Integer getMaxRetryAttempts()
PersistedMessage getMessage(ServiceInfo serviceInfo, AsynchronousCall methodCall)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |