com.ibm.websphere.sib.wsn
Class NotificationMessage
- java.lang.Object
com.ibm.websphere.sib.wsn.NotificationMessage
- public class NotificationMessage
- extends java.lang.Object
- An endpoint reference for the subscription that is associated with the message (optional)
- A topic expression describing the topic associated with the message (optional)
- An endpoint reference for the producer of the message (optional)
- The message contents
Constructor Summary
Constructor and Description |
---|
NotificationMessage(javax.xml.soap.SOAPElement messageContents)
Construct an instance with the specified message contents
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getMessageContents()
Get the message contents as a SOAPElement
|
getProducerReference()
Get the endpoint reference for the producer associated with
the message
|
|
getSubscriptionReference()
Get the endpoint reference for the subscription associated with
the message
|
|
getTopic()
Get the topic expression associated with the message
|
|
|
setMessageContents(javax.xml.soap.SOAPElement messageContents)
Set the message contents as a SOAPElement
|
|
setProducerReference(EndpointReference producerReference)
Set the endpoint reference for the producer associated with
the message
|
|
setSubscriptionReference(EndpointReference subscriptionReference)
Set the endpoint reference for the subscription associated with
the message
|
|
setTopic(TopicExpression topic)
Set the topic expression associated with the message
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
NotificationMessage
- public NotificationMessage(javax.xml.soap.SOAPElement messageContents)
Construct an instance with the specified message contents
Parameters:
messageContents
- The contents of the notification message as a SOAPElement Method Detail
getSubscriptionReference
- public EndpointReference getSubscriptionReference( )
Get the endpoint reference for the subscription associated with
the message
Returns:
The endpoint reference or null if not included in the notification message
setSubscriptionReference
- public void setSubscriptionReference( EndpointReference subscriptionReference)
Set the endpoint reference for the subscription associated with
the message
Parameters:
subscriptionReference
- The endpoint reference getTopic
- public TopicExpression getTopic( )
Get the topic expression associated with the message
Returns:
The topic expression
setTopic
- public void setTopic(TopicExpression topic)
Set the topic expression associated with the message
Parameters:
topic
- The topic expression getProducerReference
- public EndpointReference getProducerReference( )
Get the endpoint reference for the producer associated with
the message
Returns:
The endpoint reference or null if not included in the notification message
setProducerReference
- public void setProducerReference( EndpointReference producerReference)
Set the endpoint reference for the producer associated with
the message
Parameters:
producerReference
- The endpoint reference getMessageContents
- public javax.xml.soap.SOAPElement getMessageContents( )
Get the message contents as a SOAPElement
Returns:
The message contents
setMessageContents
- public void setMessageContents( javax.xml.soap.SOAPElement messageContents)
Set the message contents as a SOAPElement
Parameters:
messageContents
- The message contents