org.apache.servicemix.wsn.spring
Class PublisherComponent
java.lang.Object
org.apache.servicemix.jbi.management.BaseLifeCycle
org.apache.servicemix.components.util.PojoSupport
org.apache.servicemix.components.util.ComponentSupport
org.apache.servicemix.wsn.spring.PublisherComponent
- All Implemented Interfaces:
- javax.jbi.component.Component, javax.jbi.component.ComponentLifeCycle, javax.jbi.management.LifeCycleMBean, org.apache.servicemix.jbi.listener.MessageExchangeListener, org.apache.servicemix.jbi.management.MBeanInfoProvider
Deprecated.
public class PublisherComponent
- extends org.apache.servicemix.components.util.ComponentSupport
- implements org.apache.servicemix.MessageExchangeListener
This class is a lightweight component that can be used to act as a WS-Notification publisher.
All messages sent to it will be forwarded to the NotificationBroker in Notify requests.
- Version:
- $Revision: 376451 $
- Author:
- gnodet
- See Also:
PublisherProxyBean}
| Fields inherited from class org.apache.servicemix.jbi.management.BaseLifeCycle |
currentState, INITIALIZED, listener |
| Fields inherited from interface javax.jbi.management.LifeCycleMBean |
SHUTDOWN, STARTED, STOPPED, UNKNOWN |
| Methods inherited from class org.apache.servicemix.components.util.ComponentSupport |
createComponentLifeCycle, createInOnlyExchange, createInOnlyExchange, createInOnlyExchange, createInOptionalOutExchange, createInOutExchange, createInOutExchange, createRobustInOnlyExchange, createServiceUnitManager, creatInOutExchange, forwardToExchange, forwardToExchange, getInMessage, getLifeCycle, getMessageTransformer, getServiceDescription, getServiceUnitManager, initializeServiceUnitManager, invoke, isExchangeWithConsumerOkay, isExchangeWithProviderOkay, propagateCorrelationId, resolveEndpointReference, setMessageTransformer |
| Methods inherited from class org.apache.servicemix.components.util.PojoSupport |
answer, done, fail, fail, getBody, getContext, getDeliveryChannel, getDescription, getEndpoint, getExchangeFactory, getExtensionMBeanName, getService, init, isInAndOut, send, sendSync, sendSync, setBody, setEndpoint, setExtensionMBeanName, setService |
| Methods inherited from class org.apache.servicemix.jbi.management.BaseLifeCycle |
firePropertyChanged, getAttributeInfos, getCurrentState, getName, getObjectToManage, getOperationInfos, getSubType, getType, isInitialized, isShutDown, isStarted, isStopped, isUnknown, setCurrentState, setPropertyChangeListener, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.jbi.component.ComponentLifeCycle |
stop |
PublisherComponent
public PublisherComponent()
- Deprecated.
getDemand
public boolean getDemand()
- Deprecated.
- Returns:
- Returns the demand.
setDemand
public void setDemand(boolean demand)
- Deprecated.
- Parameters:
demand - The demand to set.
getTopic
public java.lang.String getTopic()
- Deprecated.
- Returns:
- Returns the topic.
setTopic
public void setTopic(java.lang.String topic)
- Deprecated.
- Parameters:
topic - The topic to set.
getSubscription
public Subscribe getSubscription()
- Deprecated.
- Returns:
- Returns the subscription.
init
public void init()
throws javax.jbi.JBIException
- Deprecated.
- Overrides:
init in class org.apache.servicemix.components.util.PojoSupport
- Throws:
javax.jbi.JBIException
start
public void start()
throws javax.jbi.JBIException
- Deprecated.
- Specified by:
start in interface javax.jbi.component.ComponentLifeCycle- Specified by:
start in interface javax.jbi.management.LifeCycleMBean- Overrides:
start in class org.apache.servicemix.jbi.management.BaseLifeCycle
- Throws:
javax.jbi.JBIException
shutDown
public void shutDown()
throws javax.jbi.JBIException
- Deprecated.
- Specified by:
shutDown in interface javax.jbi.component.ComponentLifeCycle- Specified by:
shutDown in interface javax.jbi.management.LifeCycleMBean- Overrides:
shutDown in class org.apache.servicemix.components.util.PojoSupport
- Throws:
javax.jbi.JBIException
onMessageExchange
public void onMessageExchange(javax.jbi.messaging.MessageExchange exchange)
throws javax.jbi.messaging.MessagingException
- Deprecated.
- Specified by:
onMessageExchange in interface org.apache.servicemix.jbi.listener.MessageExchangeListener
- Throws:
javax.jbi.messaging.MessagingException
Copyright © 2005-2011 FuseSource. All Rights Reserved.