| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.ksb.messaging.service.impl.MessageQueueServiceImpl
public class MessageQueueServiceImpl
| Constructor Summary | |
|---|---|
| MessageQueueServiceImpl() | |
| Method Summary | |
|---|---|
|  void | delete(PersistedMessageBO routeQueue) | 
|  List<PersistedMessageBO> | findAll() | 
|  List<PersistedMessageBO> | findAll(int maxRows) | 
|  PersistedMessagePayload | findByPersistedMessageByRouteQueueId(Long routeQueueId) | 
|  PersistedMessageBO | findByRouteQueueId(Long routeQueueId)Finds the PersistedMessageBO identified by the passed-in primary key, if one is available, otherwise returns a null object. | 
|  List<PersistedMessageBO> | findByServiceName(QName serviceName,
                                   String methodName) | 
|  List<PersistedMessageBO> | 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. | 
|  MessageQueueDAO | getMessageQueueDao() | 
|  List<PersistedMessageBO> | getNextDocuments(Integer maxDocuments)Returns a List of RouteQueue documents which are queued for routing. | 
|  void | save(PersistedMessageBO routeQueue) | 
|  void | setMessageQueueDao(MessageQueueDAO queueDAO) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public MessageQueueServiceImpl()
| Method Detail | 
|---|
public void delete(PersistedMessageBO routeQueue)
delete in interface MessageQueueServicepublic void save(PersistedMessageBO routeQueue)
save in interface MessageQueueServicepublic List<PersistedMessageBO> findAll()
findAll in interface MessageQueueServicepublic List<PersistedMessageBO> findAll(int maxRows)
findAll in interface MessageQueueServicepublic PersistedMessageBO findByRouteQueueId(Long routeQueueId)
MessageQueueService
findByRouteQueueId in interface MessageQueueServicerouteQueueId - The primary key routeQueueId of the message desired.
public PersistedMessagePayload findByPersistedMessageByRouteQueueId(Long routeQueueId)
findByPersistedMessageByRouteQueueId in interface MessageQueueServicepublic List<PersistedMessageBO> getNextDocuments(Integer maxDocuments)
MessageQueueService
getNextDocuments in interface MessageQueueServicepublic MessageQueueDAO getMessageQueueDao()
public void setMessageQueueDao(MessageQueueDAO queueDAO)
public List<PersistedMessageBO> findByServiceName(QName serviceName,
                                                  String methodName)
findByServiceName in interface MessageQueueService
public List<PersistedMessageBO> findByValues(Map<String,String> criteriaValues,
                                             int maxRows)
MessageQueueService
findByValues in interface MessageQueueServicecriteriaValues - 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.
public Integer getMaxRetryAttempts()
MessageQueueService
getMaxRetryAttempts in interface MessageQueueService| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||