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 browseAllMessagesAsXml(Boolean includeBody)
           
 String browseExchange(Integer index)
           
 String browseMessageAsXml(Integer index)
          Deprecated. use browseAllMessagesAsXml(Boolean) instead
 String browseMessageAsXml(Integer index, Boolean includeBody)
           
 String browseMessageBody(Integer index)
           
 String browseRangeMessagesAsXml(Integer fromIndex, Integer toIndex, Boolean includeBody)
           
 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")
@Deprecated
public String browseMessageAsXml(Integer index)
Deprecated. use browseAllMessagesAsXml(Boolean) instead


browseMessageAsXml

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

browseAllMessagesAsXml

@ManagedOperation(description="Gets all the messages as XML from the queue")
public String browseAllMessagesAsXml(Boolean includeBody)

browseRangeMessagesAsXml

@ManagedOperation(description="Gets the range of messages as XML from the queue")
public String browseRangeMessagesAsXml(Integer fromIndex,
                                                        Integer toIndex,
                                                        Boolean includeBody)


Apache CAMEL