|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RouterMonitorMBean
The NMR monitor MBean.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.ow2.petals.jmx.api.IPetalsMonitoringService |
|---|
org.ow2.petals.jmx.api.IPetalsMonitoringService.Event, org.ow2.petals.jmx.api.IPetalsMonitoringService.EventType, org.ow2.petals.jmx.api.IPetalsMonitoringService.Exchange, org.ow2.petals.jmx.api.IPetalsMonitoringService.MEP, org.ow2.petals.jmx.api.IPetalsMonitoringService.NormalizedMessage, org.ow2.petals.jmx.api.IPetalsMonitoringService.NormalizedMessageType, org.ow2.petals.jmx.api.IPetalsMonitoringService.Role, org.ow2.petals.jmx.api.IPetalsMonitoringService.RouterMonitor, org.ow2.petals.jmx.api.IPetalsMonitoringService.Status |
| Method Summary | |
|---|---|
void |
clearMonitorStorage()
Clear the monitor storage.The persisted data related to the monitored exchanges are deleted. |
java.util.Map<java.lang.String,java.lang.String> |
getExchange(java.lang.String exchangeId)
Get the exchange with the given exchange Id. |
java.util.Map<java.lang.String,java.lang.Long> |
getExchangeHistory(java.lang.String exchangeId)
Get the history of the given exchange. |
java.util.List<java.lang.String> |
getExchangeIds(javax.xml.namespace.QName interfaceName,
javax.xml.namespace.QName serviceName,
java.lang.String endpointName,
javax.xml.namespace.QName operationName,
long startDate,
long endDate)
Get the list of exchange Ids that has been sent or received at least once, matching the given criteria and the exchange persistence duration. |
java.util.List<java.lang.String> |
getExchangeIds(java.lang.String propertyKey,
java.lang.String propertyValue)
Get the list of exchange Ids that has been sent or received at least once, matching the given exchange property and the exchange persistence duration. |
int |
getExchanges(javax.xml.namespace.QName interfaceName,
javax.xml.namespace.QName serviceName,
java.lang.String endpointName,
javax.xml.namespace.QName operationName,
long startDate,
long endDate)
Get the number of exchange that has been sent or received at least once and matching the duration. |
java.util.List<java.util.Map<java.lang.String,java.lang.String>> |
getMonitoredExchanges()
Get the list of Router Monitor filter. |
long |
getMonitorStorageDuration()
Get the duration of the monitoring storage. |
void |
monitorExchanges(javax.xml.namespace.QName interfaceName,
javax.xml.namespace.QName serviceName,
java.lang.String endpointName,
javax.xml.namespace.QName operationName,
boolean storeExchanges)
Activate the monitoring of the exchanges matching the given criteria. |
void |
setMonitorStorageDuration(long duration)
Set the duration of the monitoring storage. |
void |
unmonitorExchanges(javax.xml.namespace.QName interfaceName,
javax.xml.namespace.QName serviceName,
java.lang.String endpointName,
javax.xml.namespace.QName operationName)
Deactivate the monitoring of the exchanges matching the given criteria. |
| Method Detail |
|---|
void clearMonitorStorage()
javax.jbi.messaging.MessagingException - Failed to clear the storage
java.util.Map<java.lang.String,java.lang.String> getExchange(java.lang.String exchangeId)
throws javax.jbi.messaging.MessagingException
exchangeId -
javax.jbi.messaging.MessagingException - Failed to retrieve the exchange
java.util.Map<java.lang.String,java.lang.Long> getExchangeHistory(java.lang.String exchangeId)
throws javax.jbi.messaging.MessagingException
exchangeId - the send/received history
javax.jbi.messaging.MessagingException - Failed to retrieve the exchange history
java.util.List<java.lang.String> getExchangeIds(javax.xml.namespace.QName interfaceName,
javax.xml.namespace.QName serviceName,
java.lang.String endpointName,
javax.xml.namespace.QName operationName,
long startDate,
long endDate)
throws javax.jbi.messaging.MessagingException
interfaceName - The interface name that exchange targets. Can be nullserviceName - The service name that exchange targets. Can be nullendpointName - The endpoint name that exchange targets. Can be nulloperationName - The operation name that exchange targets. Can be nullstartDate - the start dateendDate - the end date
javax.jbi.messaging.MessagingException - Failed to retrieve the list of exchange Ids
java.util.List<java.lang.String> getExchangeIds(java.lang.String propertyKey,
java.lang.String propertyValue)
throws javax.jbi.messaging.MessagingException,
java.io.IOException
propertyKey - The name of the propertypropertyValue - The value of the property as a String
javax.jbi.messaging.MessagingException - Failed to retrieve the list of exchange Ids
java.io.IOException - Failed to retrieve the list of exchange Ids
int getExchanges(javax.xml.namespace.QName interfaceName,
javax.xml.namespace.QName serviceName,
java.lang.String endpointName,
javax.xml.namespace.QName operationName,
long startDate,
long endDate)
throws javax.jbi.messaging.MessagingException
interfaceName - The interface name that exchange targets. Can be nullserviceName - The service name that exchange targets. Can be nullendpointName - The endpoint name that exchange targets. Can be nulloperationName - The operation name that exchange targets. Can be nullstartDate - the start dateendDate - the end date
javax.jbi.messaging.MessagingException - Failed to retrieve the list of exchange Idsjava.util.List<java.util.Map<java.lang.String,java.lang.String>> getMonitoredExchanges()
void monitorExchanges(javax.xml.namespace.QName interfaceName,
javax.xml.namespace.QName serviceName,
java.lang.String endpointName,
javax.xml.namespace.QName operationName,
boolean storeExchanges)
throws javax.jbi.messaging.MessagingException
interfaceName - The interface name that exchange targets. Can be nullserviceName - The service name that exchange targets. Can be nullendpointName - The endpoint name that exchange targets. Can be nulloperationName - The operation name that exchange targets. Can be nullstoreExchanges - if true, the exchanges are stored in the Persistence
Service.
javax.jbi.messaging.MessagingException - A Router Monitor filter already exists on these criteriavoid setMonitorStorageDuration(long duration)
duration - The duration in millisecondlong getMonitorStorageDuration()
duration - The duration in millisecond
void unmonitorExchanges(javax.xml.namespace.QName interfaceName,
javax.xml.namespace.QName serviceName,
java.lang.String endpointName,
javax.xml.namespace.QName operationName)
throws javax.jbi.messaging.MessagingException
interfaceName - The interface name that exchange targets. Can be nullServiceName - The service name that exchange targets. Can be nullendpointName - The endpoint name that exchange targets. Can be nulloperationName - The operation name that exchange targets. Can be null
javax.jbi.messaging.MessagingException - No Router Monitor filter activated on the given criteria
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||