org.apache.camel.component.jmx
Class JMXConsumer

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultConsumer
          extended by org.apache.camel.component.jmx.JMXConsumer
All Implemented Interfaces:
EventListener, NotificationListener, Consumer, Service

public class JMXConsumer
extends DefaultConsumer
implements NotificationListener

Creates an JMXExchange after getting a JMX Notification

Version:
$Revision: 585 $

Constructor Summary
JMXConsumer(JMXEndpoint endpoint, Processor processor)
           
 
Method Summary
 void handleNotification(Notification notification, Object handback)
           
 
Methods inherited from class org.apache.camel.impl.DefaultConsumer
doStart, doStop, getAsyncProcessor, getEndpoint, getExceptionHandler, getProcessor, handleException, setExceptionHandler, toString
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, getThreadName, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, nextThreadCounter, removeChildService, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.Service
start, stop
 

Constructor Detail

JMXConsumer

public JMXConsumer(JMXEndpoint endpoint,
                   Processor processor)
Method Detail

handleNotification

public void handleNotification(Notification notification,
                               Object handback)
Specified by:
handleNotification in interface NotificationListener


Copyright © 2009 IONA Open Source Community. All Rights Reserved.