org.apache.servicemix.wsn.spring
Class PublisherComponent

java.lang.Object
  extended by org.apache.servicemix.jbi.management.BaseLifeCycle
      extended by org.apache.servicemix.components.util.PojoSupport
          extended by org.apache.servicemix.components.util.ComponentSupport
              extended by 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}

Field Summary
 
Fields inherited from class org.apache.servicemix.components.util.PojoSupport
logger
 
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
 
Constructor Summary
PublisherComponent()
          Deprecated.  
 
Method Summary
 boolean getDemand()
          Deprecated.  
 Subscribe getSubscription()
          Deprecated.  
 String getTopic()
          Deprecated.  
 void init()
          Deprecated.  
 void onMessageExchange(javax.jbi.messaging.MessageExchange exchange)
          Deprecated.  
 void setDemand(boolean demand)
          Deprecated.  
 void setTopic(String topic)
          Deprecated.  
 void shutDown()
          Deprecated.  
 void start()
          Deprecated.  
 
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
 

Constructor Detail

PublisherComponent

public PublisherComponent()
Deprecated. 
Method Detail

getDemand

public boolean getDemand()
Deprecated. 
Returns:
Returns the demand.

setDemand

public void setDemand(boolean demand)
Deprecated. 
Parameters:
demand - The demand to set.

getTopic

public String getTopic()
Deprecated. 
Returns:
Returns the topic.

setTopic

public void setTopic(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-2008 The Apache Software Foundation. All Rights Reserved.