com.sap.netweaver.rtmf.messagingimpl.services

Class RTMFService.RTMFClusterMessage

java.lang.Object
  extended by com.sap.netweaver.rtmf.messagingimpl.messages.RTMFMessage
      extended by com.sap.netweaver.rtmf.messagingimpl.services.RTMFService.RTMFClusterMessage
Enclosing class:
RTMFService

Deprecated.

protected class RTMFService.RTMFClusterMessage
extends RTMFMessage

The class that represents a message used for synchorizing instances of the same service on different nodes.

Messages sent to queue and sync services are only sent to the service instance on one of the cluster nodes, not all of them. Therefore, the instances of a queue or a sync service may be in different states.
To enable you to keep instances of a service synchronized, RTMF provides a special type of message (RTMFClusterMessage) that can be sent only from an RTMF service to all the instances of that service.
As with all messages, you can set parameters for an RTMFClusterMessage.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sap.netweaver.rtmf.messagingimpl.messages.RTMFMessage
RTMFMessage.MessageProperty
 
Field Summary
 
Fields inherited from class com.sap.netweaver.rtmf.messagingimpl.messages.RTMFMessage
ACTION_ID_PROPERTY, DESTINATION_PROPERTY, EVENT_PROPERTY, FROM_PROPERTY
 
Constructor Summary
RTMFService.RTMFClusterMessage()
          Deprecated. Constructs a new RTMFClusterMessage.
 
Method Summary
 void publishToCluster()
          Deprecated. Publishes the message to all the instances of the service on all cluster nodes.
 
Methods inherited from class com.sap.netweaver.rtmf.messagingimpl.messages.RTMFMessage
getAction, getAllParamsKeys, getDestination, getEvent, getFrom, getMessage, getMessageType, getParamValue, getParamValues, publishEvent, publishEventToUser, publishToTopic, putParam, putParam, removeParam, sendToQueue, sendToService, setAction, setDestination, setEvent, setFrom
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RTMFService.RTMFClusterMessage

public RTMFService.RTMFClusterMessage()
Deprecated. 
Constructs a new RTMFClusterMessage.

Method Detail

publishToCluster

public void publishToCluster()
                      throws RTMFException
Deprecated. 
Publishes the message to all the instances of the service on all cluster nodes.

When publishing a cluster message, the sending instance also receives the message.

Throws:
RTMFException - if publishing fails
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] tc/rtmf/messaging/apideprecated api EP-PIN


Copyright 2012 SAP AG Complete Copyright Notice