org.apache.servicemix.wsn.jbi
Class JbiPublisher

java.lang.Object
  extended by org.apache.servicemix.wsn.AbstractEndpoint
      extended by org.apache.servicemix.wsn.AbstractPublisher
          extended by org.apache.servicemix.wsn.jms.JmsPublisher
              extended by org.apache.servicemix.wsn.jbi.JbiPublisher
All Implemented Interfaces:
org.apache.activemq.advisory.ConsumerListener, ComponentContextAware, PublisherRegistrationManager

public class JbiPublisher
extends JmsPublisher
implements ComponentContextAware


Field Summary
 
Fields inherited from class org.apache.servicemix.wsn.AbstractPublisher
demand, publisherReference, topic
 
Fields inherited from class org.apache.servicemix.wsn.AbstractEndpoint
address, manager, name
 
Constructor Summary
JbiPublisher(String name)
           
 
Method Summary
protected  void destroySubscription(Object subscription)
           
 javax.jbi.component.ComponentContext getContext()
           
 String getNotificationBrokerAddress()
           
 void setContext(javax.jbi.component.ComponentContext context)
           
 void setNotificationBrokerAddress(String notificationBrokerAddress)
           
protected  String[] split(String uri)
           
protected  Object startSubscription()
           
protected  void validatePublisher(RegisterPublisher registerPublisherRequest)
           
 
Methods inherited from class org.apache.servicemix.wsn.jms.JmsPublisher
destroy, getConnection, notify, onConsumerEvent, setConnection, start
 
Methods inherited from class org.apache.servicemix.wsn.AbstractPublisher
create, createAddress, destroyRegistration
 
Methods inherited from class org.apache.servicemix.wsn.AbstractEndpoint
getAddress, getManager, getName, register, setAddress, setManager, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JbiPublisher

public JbiPublisher(String name)
Method Detail

getNotificationBrokerAddress

public String getNotificationBrokerAddress()

setNotificationBrokerAddress

public void setNotificationBrokerAddress(String notificationBrokerAddress)

startSubscription

protected Object startSubscription()
Specified by:
startSubscription in class JmsPublisher

destroySubscription

protected void destroySubscription(Object subscription)
Specified by:
destroySubscription in class JmsPublisher

validatePublisher

protected void validatePublisher(RegisterPublisher registerPublisherRequest)
                          throws InvalidTopicExpressionFault,
                                 PublisherRegistrationFailedFault,
                                 PublisherRegistrationRejectedFault,
                                 ResourceUnknownFault,
                                 TopicNotSupportedFault
Overrides:
validatePublisher in class JmsPublisher
Throws:
InvalidTopicExpressionFault
PublisherRegistrationFailedFault
PublisherRegistrationRejectedFault
ResourceUnknownFault
TopicNotSupportedFault

split

protected String[] split(String uri)

getContext

public javax.jbi.component.ComponentContext getContext()

setContext

public void setContext(javax.jbi.component.ComponentContext context)
Specified by:
setContext in interface ComponentContextAware


Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.