| edu.iu.uis.eden.messaging.MessageQueueService
All known Subclasses: edu.iu.uis.eden.messaging.MessageQueueServiceImpl,
MessageQueueService | public interface MessageQueueService (Code) | | Service for interfacing with the queue of asynchronous messages.
See Also: PersistedMessage author: Kuali Rice Team (kuali-rice@googlegroups.com) |
Method Summary | |
public void | delete(PersistedMessage routeQueue) | public List<PersistedMessage> | findAll() | public List<PersistedMessage> | findAll(int maxRows) | public PersistedMassagePayload | findByPersistedMessageByRouteQueueId(Long routeQueueId) | public PersistedMessage | findByRouteQueueId(Long routeQueueId) Finds the PersistedMessage identified by the passed-in primary key, if one is
available, otherwise returns a null object.
Parameters: routeQueueId - The primary key routeQueueId of the message desired. | public List<PersistedMessage> | findByServiceName(QName serviceName, String methodName) | public 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.
Parameters: 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. Parameters: maxRows - the maximum number of rows to return from the query. | public Integer | getMaxRetryAttempts() Used to determine the maximum number of retries allowed by the system before the
message goes into Exception. | public PersistedMessage | getMessage(ServiceInfo serviceInfo, AsynchronousCall methodCall) | public List<PersistedMessage> | getNextDocuments(Integer maxDocuments) Returns a List of RouteQueue documents which are queued for routing. | public void | save(PersistedMessage routeQueue) |
findByRouteQueueId | public PersistedMessage findByRouteQueueId(Long routeQueueId)(Code) | | Finds the PersistedMessage identified by the passed-in primary key, if one is
available, otherwise returns a null object.
Parameters: routeQueueId - The primary key routeQueueId of the message desired. A populated PersistedMessage instance, if the routeQueueId exists, otherwise a null object. |
findByValues | public List<PersistedMessage> findByValues(Map<String, String> criteriaValues, int maxRows)(Code) | | Finds the persisted messages that match the values passed into the
criteriaValues Map, with an auto-wildcard function, if no wildcard
is passed in.
Parameters: 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. Parameters: maxRows - the maximum number of rows to return from the query. If -1, then all rows will be returned. A populated (or empty) list containing the results of the search. If no matches are made, an empty list will be returned. |
getMaxRetryAttempts | public Integer getMaxRetryAttempts()(Code) | | Used to determine the maximum number of retries allowed by the system before the
message goes into Exception.
The max retry attempts set in the system. |
getNextDocuments | public List<PersistedMessage> getNextDocuments(Integer maxDocuments)(Code) | | Returns a List of RouteQueue documents which are queued for routing. Will not
return more RouteQueues than the value of maxDocuments.
|
|
|