cgl.narada.wsinfra.messaging.interactions.wse
Class WSEPublisherWithSubscriber

java.lang.Object
  extended by cgl.narada.wsinfra.messaging.wse.WseFrameworkIndicator
      extended by cgl.narada.wsinfra.messaging.interactions.wse.WSEPublisherInteraction
          extended by cgl.narada.wsinfra.messaging.interactions.wse.WSEPublisherWithSubscriber
All Implemented Interfaces:
FrameworkIndicator, PublisherInteraction, PublisherWithSubscriber, WsePublisherWithSubscriber

public class WSEPublisherWithSubscriber
extends WSEPublisherInteraction
implements WsePublisherWithSubscriber


Constructor Summary
WSEPublisherWithSubscriber(WseSourceProcessor wseSourceProcessor)
           
 
Method Summary
 void issueSubscriptionEnd(String subscriptionId, String status, String reason)
          Issues a subscription end for a specific subscription identifier.
 
Methods inherited from class cgl.narada.wsinfra.messaging.interactions.wse.WSEPublisherInteraction
issueExchange
 
Methods inherited from class cgl.narada.wsinfra.messaging.wse.WseFrameworkIndicator
getProvider, getSpecVersion, isEventing, isNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface cgl.narada.wsinfra.messaging.FrameworkIndicator
getProvider, getSpecVersion, isEventing, isNotification
 

Constructor Detail

WSEPublisherWithSubscriber

public WSEPublisherWithSubscriber(WseSourceProcessor wseSourceProcessor)
Method Detail

issueSubscriptionEnd

public void issueSubscriptionEnd(String subscriptionId,
                                 String status,
                                 String reason)
                          throws ProcessingException,
                                 MessageFlowException
Issues a subscription end for a specific subscription identifier. This method throws a Processing exception if there are problems with the subscription Identifier or in the creation of a request. If there are problems in routing the subscription end to the sink (and also to the Subscription Manager) this method will throw a MessageFlowException.

Specified by:
issueSubscriptionEnd in interface WsePublisherWithSubscriber
Parameters:
subscriptionId - The ID of the subscription being terminated
status - The status of the subscription end
reason - The reason why this subscription is being terminated.
Throws:
ProcessingException - If there are problems with the arguments or in the creation of the SubscriptionEnd.
MessageFlowException - If there are problems in routing the message.


For comments and suggestions please send e-mail to The NaradaBrokering Project