org.apache.camel.management.mbean
Class ManagedSendProcessor

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.ManagedSendProcessor
All Implemented Interfaces:
PerformanceCounter

@ManagedResource(description="Managed SendProcessor")
public class ManagedSendProcessor
extends ManagedProcessor

Version:
$Revision: 835732 $

Field Summary
 
Fields inherited from class org.apache.camel.management.mbean.ManagedCounter
exchangesTotal
 
Constructor Summary
ManagedSendProcessor(CamelContext context, SendProcessor processor, ProcessorDefinition<?> definition)
           
 
Method Summary
 void changeDestination(String uri)
           
 String getDestination()
           
 String getMessageExchangePattern()
           
 SendProcessor getProcessor()
           
 
Methods inherited from class org.apache.camel.management.mbean.ManagedProcessor
getCamelId, getContext, getDefinition, getProcessorId, getRoute, getRouteId, getState, setRoute
 
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

ManagedSendProcessor

public ManagedSendProcessor(CamelContext context,
                            SendProcessor processor,
                            ProcessorDefinition<?> definition)
Method Detail

getProcessor

public SendProcessor getProcessor()
Overrides:
getProcessor in class ManagedProcessor

getDestination

@ManagedAttribute(description="Destination as Endpoint Uri")
public String getDestination()

getMessageExchangePattern

@ManagedAttribute(description="Message Exchange Pattern")
public String getMessageExchangePattern()

changeDestination

@ManagedOperation(description="Change Destination Endpoint Uri")
public void changeDestination(String uri)
                       throws Exception
Throws:
Exception


Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.