org.apache.camel.component.jmx
Class JMXMessage

java.lang.Object
  extended by org.apache.camel.impl.MessageSupport
      extended by org.apache.camel.impl.DefaultMessage
          extended by org.apache.camel.component.jmx.JMXMessage
All Implemented Interfaces:
Message

public class JMXMessage
extends DefaultMessage

A Message for a JMX Notification

Version:
$Revision: 36635 $

Constructor Summary
JMXMessage()
           
JMXMessage(Notification notification)
           
 
Method Summary
 JMXExchange getExchange()
          Returns the exchange this message is related to
 Notification getNotification()
           
 JMXMessage newInstance()
          Returns a new instance
 String toString()
           
 
Methods inherited from class org.apache.camel.impl.DefaultMessage
addAttachment, createAttachments, createHeaders, getAttachment, getAttachmentNames, getAttachments, getHeader, getHeader, getHeaders, hasAttachments, hasPopulatedHeaders, populateInitialAttachments, populateInitialHeaders, removeAttachment, removeHeader, setAttachments, setHeader, setHeaders
 
Methods inherited from class org.apache.camel.impl.MessageSupport
copy, copyFrom, createBody, createMessageId, getBody, getBody, getMessageId, setBody, setBody, setExchange, setMessageId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JMXMessage

public JMXMessage()

JMXMessage

public JMXMessage(Notification notification)
Method Detail

toString

public String toString()
Overrides:
toString in class DefaultMessage

getExchange

public JMXExchange getExchange()
Description copied from interface: Message
Returns the exchange this message is related to

Specified by:
getExchange in interface Message
Overrides:
getExchange in class MessageSupport

newInstance

public JMXMessage newInstance()
Description copied from class: MessageSupport
Returns a new instance

Overrides:
newInstance in class DefaultMessage

getNotification

public Notification getNotification()


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