1 17 package org.apache.servicemix.jbi.audit; 18 19 import javax.jbi.JBIException; 20 import javax.jbi.management.LifeCycleMBean; 21 import javax.jbi.messaging.MessageExchange; 22 23 37 public interface AuditorMBean extends LifeCycleMBean { 38 39 45 int getExchangeCount() throws AuditorException; 46 47 58 String getExchangeId(int index) throws AuditorException; 59 60 66 String [] getExchangeIds() throws AuditorException; 67 68 89 String [] getExchangeIds(int fromIndex, int toIndex) throws AuditorException; 90 91 103 MessageExchange getExchange(int index) throws AuditorException; 104 105 115 MessageExchange getExchange(String id) throws AuditorException; 116 117 123 MessageExchange[] getExchanges() throws AuditorException; 124 125 146 MessageExchange[] getExchanges(int fromIndex, int toIndex) throws AuditorException; 147 148 160 MessageExchange[] getExchanges(String [] ids) throws AuditorException; 161 162 169 int deleteExchanges() throws AuditorException; 170 171 184 boolean deleteExchange(int index) throws AuditorException; 185 186 196 boolean deleteExchange(String id) throws AuditorException; 197 198 210 int deleteExchanges(int fromIndex, int toIndex) throws AuditorException; 211 212 222 int deleteExchanges(String [] ids) throws AuditorException; 223 224 238 void resendExchange(MessageExchange exchange)throws JBIException; 239 } 240 | Popular Tags |