org.apache.camel.management.mbean
Class ManagedDelayer

java.lang.Object
  extended by org.apache.camel.management.mbean.ManagedCounter
      extended by org.apache.camel.management.mbean.ManagedPerformanceCounter
          extended by org.apache.camel.management.mbean.ManagedProcessor
              extended by org.apache.camel.management.mbean.ManagedDelayer
All Implemented Interfaces:
PerformanceCounter

@ManagedResource(description="Managed Delayer")
public class ManagedDelayer
extends ManagedProcessor

Version:
$Revision: 16353 $

Field Summary
 
Fields inherited from class org.apache.camel.management.mbean.ManagedCounter
exchangesTotal
 
Constructor Summary
ManagedDelayer(CamelContext context, Delayer delayer, ProcessorDefinition<?> definition)
           
 
Method Summary
 void constantDelay(Integer millis)
           
 Long getDelay()
           
 Delayer getDelayer()
           
 
Methods inherited from class org.apache.camel.management.mbean.ManagedProcessor
getCamelId, getContext, getDefinition, getProcessor, getProcessorId, getRoute, getRouteId, getState, setRoute, start, stop
 
Methods inherited from class org.apache.camel.management.mbean.ManagedPerformanceCounter
completedExchange, failedExchange, getExchangesCompleted, getExchangesFailed, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureTimestamp, getLastExchangeCompletedTimestamp, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getTotalProcessingTime, init, isStatisticsEnabled, reset, setStatisticsEnabled
 
Methods inherited from class org.apache.camel.management.mbean.ManagedCounter
getExchangesTotal, increment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedDelayer

public ManagedDelayer(CamelContext context,
                      Delayer delayer,
                      ProcessorDefinition<?> definition)
Method Detail

getDelayer

public Delayer getDelayer()

getDelay

@ManagedAttribute(description="Delay")
public Long getDelay()

constantDelay

@ManagedOperation(description="Set a constant delay in millis")
public void constantDelay(Integer millis)


Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.