org.apache.camel.management.mbean
Class ManagedBrowsableEndpoint

java.lang.Object
  extended by org.apache.camel.management.mbean.ManagedEndpoint
      extended by org.apache.camel.management.mbean.ManagedBrowsableEndpoint
All Implemented Interfaces:
ManagedInstance

@ManagedResource(description="Managed BrowsableEndpoint")
public class ManagedBrowsableEndpoint
extends ManagedEndpoint

Version:

Constructor Summary
ManagedBrowsableEndpoint(BrowsableEndpoint endpoint)
           
 
Method Summary
 String browseExchange(Integer index)
           
 String browseMessageAsXml(Integer index)
           
 String browseMessageBody(Integer index)
           
 BrowsableEndpoint getEndpoint()
           
 long queueSize()
           
 
Methods inherited from class org.apache.camel.management.mbean.ManagedEndpoint
getCamelId, getEndpointUri, getInstance, getState, init, isSingleton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedBrowsableEndpoint

public ManagedBrowsableEndpoint(BrowsableEndpoint endpoint)
Method Detail

getEndpoint

public BrowsableEndpoint getEndpoint()
Overrides:
getEndpoint in class ManagedEndpoint

queueSize

@ManagedOperation(description="Current number of Exchanges in Queue")
public long queueSize()

browseExchange

@ManagedOperation(description="Get Exchange from queue by index")
public String browseExchange(Integer index)

browseMessageBody

@ManagedOperation(description="Get message body from queue by index")
public String browseMessageBody(Integer index)

browseMessageAsXml

@ManagedOperation(description="Get message as XML from queue by index")
public String browseMessageAsXml(Integer index)


Apache CAMEL