Class SubscriptionMessageBuilder


  • public class SubscriptionMessageBuilder
    extends Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static SynapseSubscription createGetStatusMessage​(org.apache.axis2.context.MessageContext mc)
      (01) (06) (07) (08) http://schemas.xmlsoap.org/ws/2004/08/eventing/GetStatus (09) (10) (11) uuid:bd88b3df-5db4-4392-9621-aee9160721f6 (12) (13) (14) http://www.example.com/MyEventSink (15) (16) (17) http://www.example.org/oceanwatch/SubscriptionManager (18) (19) (20) uuid:22e8a584-0d18-4228-b2a8-3716fa2097fa (21) (22) (23) (24) (25) (26)
      static SynapseSubscription createRenewSubscribeMessage​(org.apache.axis2.context.MessageContext mc)
      (01) (06) (07) (08) http://schemas.xmlsoap.org/ws/2004/08/eventing/Renew (09) (10) (11) uuid:bd88b3df-5db4-4392-9621-aee9160721f6 (12) (13) (14) http://www.example.com/MyEventSink (15) (16) (17) http://www.example.org/oceanwatch/SubscriptionManager (18) (19) (20) uuid:22e8a584-0d18-4228-b2a8-3716fa2097fa (21) (22) (23) (24) (25) 2004-06-26T21:07:00.000-08:00 (26) (27) (28)
      static SynapseSubscription createSubscription​(org.apache.axis2.context.MessageContext mc)
      (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)
      static SynapseSubscription createUnSubscribeMessage​(org.apache.axis2.context.MessageContext mc)
      create request for unsubscribr request (01) (06) (07) (08) http://schemas.xmlsoap.org/ws/2004/08/eventing/Unsubscribe (09) (10) (11) uuid:2653f89f-25bc-4c2a-a7c4-620504f6b216 (12) (13) (14) http://www.example.com/MyEventSink (15) (16) (17) http://www.example.org/oceanwatch/SubscriptionManager (18) (19) (20) uuid:22e8a584-0d18-4228-b2a8-3716fa2097fa (21) (22) (23) (24) (25) (26)
      static String getErrorCode()  
      static String getErrorReason()  
      static String getErrorSubCode()  
      static void resetErrorInfo()
      Reset Error Information
      static void setErrorCode​(String errorCodes)  
      static void setErrorReason​(String errorReasons)  
      static void setErrorSubCode​(String errorCode)  
    • Constructor Detail

      • SubscriptionMessageBuilder

        public SubscriptionMessageBuilder()
    • Method Detail

      • createSubscription

        public static SynapseSubscription createSubscription​(org.apache.axis2.context.MessageContext mc)
        (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:
        mc - The MessageContext from which to create the SynapseSubscription
        Returns:
        The SynapseSubscription
      • createUnSubscribeMessage

        public static SynapseSubscription createUnSubscribeMessage​(org.apache.axis2.context.MessageContext mc)
        create request for unsubscribr request (01) (06) (07) (08) http://schemas.xmlsoap.org/ws/2004/08/eventing/Unsubscribe (09) (10) (11) uuid:2653f89f-25bc-4c2a-a7c4-620504f6b216 (12) (13) (14) http://www.example.com/MyEventSink (15) (16) (17) http://www.example.org/oceanwatch/SubscriptionManager (18) (19) (20) uuid:22e8a584-0d18-4228-b2a8-3716fa2097fa (21) (22) (23) (24) (25) (26)
        Parameters:
        mc - The MessageContext from which to create the SynapseSubscription
        Returns:
        The SynapseSubscription
      • createRenewSubscribeMessage

        public static SynapseSubscription createRenewSubscribeMessage​(org.apache.axis2.context.MessageContext mc)
        (01) (06) (07) (08) http://schemas.xmlsoap.org/ws/2004/08/eventing/Renew (09) (10) (11) uuid:bd88b3df-5db4-4392-9621-aee9160721f6 (12) (13) (14) http://www.example.com/MyEventSink (15) (16) (17) http://www.example.org/oceanwatch/SubscriptionManager (18) (19) (20) uuid:22e8a584-0d18-4228-b2a8-3716fa2097fa (21) (22) (23) (24) (25) 2004-06-26T21:07:00.000-08:00 (26) (27) (28)
        Parameters:
        mc - MessageContext from which to create the SynapseSubscription
        Returns:
        The SynapseSubscription
      • createGetStatusMessage

        public static SynapseSubscription createGetStatusMessage​(org.apache.axis2.context.MessageContext mc)
        (01) (06) (07) (08) http://schemas.xmlsoap.org/ws/2004/08/eventing/GetStatus (09) (10) (11) uuid:bd88b3df-5db4-4392-9621-aee9160721f6 (12) (13) (14) http://www.example.com/MyEventSink (15) (16) (17) http://www.example.org/oceanwatch/SubscriptionManager (18) (19) (20) uuid:22e8a584-0d18-4228-b2a8-3716fa2097fa (21) (22) (23) (24) (25) (26)
        Parameters:
        mc - The MessageContext from which to extract the SynapseSubscription
        Returns:
        The SynapseSubscription
      • getErrorSubCode

        public static String getErrorSubCode()
      • setErrorSubCode

        public static void setErrorSubCode​(String errorCode)
      • getErrorReason

        public static String getErrorReason()
      • setErrorReason

        public static void setErrorReason​(String errorReasons)
      • getErrorCode

        public static String getErrorCode()
      • setErrorCode

        public static void setErrorCode​(String errorCodes)
      • resetErrorInfo

        public static void resetErrorInfo()
        Reset Error Information