public class NotificationMessage
extends java.lang.Object
Constructor and Description |
---|
NotificationMessage(javax.xml.soap.SOAPElement messageContents)
Construct an instance with the specified message contents
|
Modifier and Type | Method and Description |
---|---|
javax.xml.soap.SOAPElement |
getMessageContents()
Get the message contents as a SOAPElement
|
EndpointReference |
getProducerReference()
Get the endpoint reference for the producer associated with
the message
|
EndpointReference |
getSubscriptionReference()
Get the endpoint reference for the subscription associated with
the message
|
TopicExpression |
getTopic()
Get the topic expression associated with the message
|
void |
setMessageContents(javax.xml.soap.SOAPElement messageContents)
Set the message contents as a SOAPElement
|
void |
setProducerReference(EndpointReference producerReference)
Set the endpoint reference for the producer associated with
the message
|
void |
setSubscriptionReference(EndpointReference subscriptionReference)
Set the endpoint reference for the subscription associated with
the message
|
void |
setTopic(TopicExpression topic)
Set the topic expression associated with the message
|
public NotificationMessage(javax.xml.soap.SOAPElement messageContents)
messageContents
- The contents of the notification message as a SOAPElementpublic EndpointReference getSubscriptionReference()
public void setSubscriptionReference(EndpointReference subscriptionReference)
subscriptionReference
- The endpoint referencepublic TopicExpression getTopic()
public void setTopic(TopicExpression topic)
topic
- The topic expressionpublic EndpointReference getProducerReference()
public void setProducerReference(EndpointReference producerReference)
producerReference
- The endpoint referencepublic javax.xml.soap.SOAPElement getMessageContents()
public void setMessageContents(javax.xml.soap.SOAPElement messageContents)
messageContents
- The message contents