org.apache.servicemix.jbi.audit
Interface AuditorQueryMBean

All Superinterfaces:
AuditorMBean, LifeCycleMBean
All Known Implementing Classes:
LuceneAuditor

public interface AuditorQueryMBean
extends AuditorMBean

Main interface for ServiceMix auditor query. This interface may be used to query upon exchanges.

Since:
2.1
Version:
$Revision: 11366 $
Author:
George Gastaldi (gastaldi)

Field Summary
 
Fields inherited from interface javax.jbi.management.LifeCycleMBean
SHUTDOWN, STARTED, STOPPED, UNKNOWN
 
Method Summary
 String[] findExchangesIDsByMessageContent(String type, String content)
           
 String[] findExchangesIDsByMessageProperty(String type, String property, String value)
           
 String[] findExchangesIDsByStatus(ExchangeStatus status)
           
 String[] getExchangeIds(String field, String fieldValue)
          Searches for Exchanges IDs using the supplied key-field and the expected content of the field
 
Methods inherited from interface org.apache.servicemix.jbi.audit.AuditorMBean
deleteAllExchanges, deleteExchangeById, deleteExchangeByIndex, deleteExchangesByIds, deleteExchangesByRange, getAllExchangeIds, getAllExchanges, getExchangeById, getExchangeByIndex, getExchangeCount, getExchangeIdByIndex, getExchangeIdsByRange, getExchangesByIds, getExchangesByRange, resendExchange
 
Methods inherited from interface javax.jbi.management.LifeCycleMBean
getCurrentState, shutDown, start, stop
 

Method Detail

findExchangesIDsByStatus

String[] findExchangesIDsByStatus(ExchangeStatus status)
                                  throws AuditorException
Throws:
AuditorException

findExchangesIDsByMessageContent

String[] findExchangesIDsByMessageContent(String type,
                                          String content)
                                          throws AuditorException
Throws:
AuditorException

findExchangesIDsByMessageProperty

String[] findExchangesIDsByMessageProperty(String type,
                                           String property,
                                           String value)
                                           throws AuditorException
Throws:
AuditorException

getExchangeIds

String[] getExchangeIds(String field,
                        String fieldValue)
                        throws AuditorException
Searches for Exchanges IDs using the supplied key-field and the expected content of the field

Parameters:
field -
fieldValue -
Returns:
exchange ids
Throws:
AuditorException - if an error occurs


Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.