Class SubscribeCommandBuilder

    • Constructor Summary

      Constructors 
      Constructor Description
      SubscribeCommandBuilder​(org.apache.axis2.context.MessageContext messageCtx)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      org.apache.axiom.soap.SOAPEnvelope fromSubscription​(org.wso2.carbon.event.core.subscription.Subscription subscription)
      Deprecated.
      (01) (07) (08) (09) http://schemas.xmlsoap.org/ws/2004/08/eventing/SubscribeResponse (10) (11) (12) uuid:e1886c5c-5e86-48d1-8c77-fc1c28d47180 (13) (14) http://www.example.com/MyEventSink (15) 2597 (16) (17) (18) (19) (20) (21) http://www.example.org/oceanwatch/SubscriptionManager (22) (23) (24) (25) uuid:22e8a584-0d18-4228-b2a8-3716fa2097fa (26) (27) (28) (29) 2004-07-01T00:00:00.000-00:00 (30) (31) (32) Generate the subscription responce message
      org.wso2.carbon.event.core.subscription.Subscription toSubscription​(org.apache.axiom.soap.SOAPEnvelope envelope)
      Deprecated.
      (01) (06) (07) (08) http://schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe (09) (10) (11) uuid:e1886c5c-5e86-48d1-8c77-fc1c28d47180 (12) (13) (14) http://www.example.com/MyEvEntsink (15) (16) 2597 (17) (18) (19) http://www.example.org/oceanwatch/EventSource (20) (21) (22) (23) (24) (25) http://www.example.com/MyEventSink (26) (27) (28) 2597 (29) (30) (31) (32) (33) (34) http://www.other.example.com/OnStormWarning (35) (36) (37) 2597 (38) (39) (40) (41) 2004-06-26T21:07:00.000-08:00 (42) (44) weather.storms (45) (46) (47) (48)
    • Constructor Detail

      • SubscribeCommandBuilder

        public SubscribeCommandBuilder​(org.apache.axis2.context.MessageContext messageCtx)
        Deprecated.
    • Method Detail

      • toSubscription

        public org.wso2.carbon.event.core.subscription.Subscription toSubscription​(org.apache.axiom.soap.SOAPEnvelope envelope)
                                                                            throws InvalidMessageException,
                                                                                   InvalidExpirationTimeException
        Deprecated.
        (01) (06) (07) (08) http://schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe (09) (10) (11) uuid:e1886c5c-5e86-48d1-8c77-fc1c28d47180 (12) (13) (14) http://www.example.com/MyEvEntsink (15) (16) 2597 (17) (18) (19) http://www.example.org/oceanwatch/EventSource (20) (21) (22) (23) (24) (25) http://www.example.com/MyEventSink (26) (27) (28) 2597 (29) (30) (31) (32) (33) (34) http://www.other.example.com/OnStormWarning (35) (36) (37) 2597 (38) (39) (40) (41) 2004-06-26T21:07:00.000-08:00 (42) (44) weather.storms (45) (46) (47) (48)
        Parameters:
        envelope - The soap envelope containing the subscription request
        Returns:
        The created subscription
        Throws:
        InvalidMessageException
        InvalidExpirationTimeException
      • fromSubscription

        public org.apache.axiom.soap.SOAPEnvelope fromSubscription​(org.wso2.carbon.event.core.subscription.Subscription subscription)
        Deprecated.
        (01) (07) (08) (09) http://schemas.xmlsoap.org/ws/2004/08/eventing/SubscribeResponse (10) (11) (12) uuid:e1886c5c-5e86-48d1-8c77-fc1c28d47180 (13) (14) http://www.example.com/MyEventSink (15) 2597 (16) (17) (18) (19) (20) (21) http://www.example.org/oceanwatch/SubscriptionManager (22) (23) (24) (25) uuid:22e8a584-0d18-4228-b2a8-3716fa2097fa (26) (27) (28) (29) 2004-07-01T00:00:00.000-00:00 (30) (31) (32) Generate the subscription responce message
        Parameters:
        subscription - The subscription to which the response should be created
        Returns:
        The response envelope.