de.jw.cloud42.core.eventing.subscription
Class SOAPSubscription

java.lang.Object
  extended by de.jw.cloud42.core.eventing.subscription.Subscription
      extended by de.jw.cloud42.core.eventing.subscription.SOAPSubscription

public class SOAPSubscription
extends Subscription

This is an implementation of a subscription for an endpoint that receives notification messages as SOAP messages over HTTP.

Author:
fbitzer

Constructor Summary
SOAPSubscription()
           
 
Method Summary
 org.apache.axis2.addressing.EndpointReference getToEndpoint()
           
 void sendEventData(Message message)
          Transforms the provided notification message into a SOAP message and sends it.
 void setToEndpoint(org.apache.axis2.addressing.EndpointReference toEndpoint)
           
 
Methods inherited from class de.jw.cloud42.core.eventing.subscription.Subscription
getId, getTopic, setId, setTopic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAPSubscription

public SOAPSubscription()
Method Detail

sendEventData

public void sendEventData(Message message)
                   throws java.lang.Exception
Transforms the provided notification message into a SOAP message and sends it.

Specified by:
sendEventData in class Subscription
Parameters:
message - the message to send as SOAP message.
Throws:
java.lang.Exception
See Also:
Subscription.sendEventData(Message message)

getToEndpoint

public org.apache.axis2.addressing.EndpointReference getToEndpoint()
Returns:
the toEndpoint

setToEndpoint

public void setToEndpoint(org.apache.axis2.addressing.EndpointReference toEndpoint)
Parameters:
toEndpoint - the toEndpoint to set


Copyright © 2010 just works! Software. All Rights Reserved.