Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.configuration
Interface WSReliableDeliveryPolicyMBean

All Superinterfaces:
ConfigurationMBean, DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, WebLogicMBean

public interface WSReliableDeliveryPolicyMBean
extends ConfigurationMBean

This class represents the reliable messaging delivery policy for the current WebLogic Server as both a sender and a receiver of a reliable SOAP message to and from a Web service running on a different WebLogic Server.

Reliable messaging is a framework for applications running in WebLogic Server to asynchronously and reliably invoke a Web service running in a different WebLogic Server. Reliable messaging works only between WebLogic Servers. This class encapsulates the default reliable messaging parameters for an application running in this WebLogic Server instance that both sends and receives a SOAP message reliably. These parameters include the number of times to retry sending the message, the time to wait between retries, the persistent store for the reliable message, and so on.


Field Summary

 

Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY

 

Method Summary
abstract  int getDefaultRetryCount()
          The default maximum number of times that the sender runtime should attempt to redeliver a message that the receiver WebLogic Server has not yet acknowledged.
abstract  int getDefaultRetryInterval()
          The default minimum number of seconds that the sender runtime should wait between retries if the receiver does not send an acknowledgement of receiving the message, or if the sender runtime detects a communications error while attempting to send a message.
abstract  int getDefaultTimeToLive()
          The default number of seconds that the receiver of the reliable message should persist the history of the reliable message in its store.
abstract  JMSServerMBean getJMSServer()
          The JMS server used by WebLogic Server, in its role as a sender, to persist the reliable messages that it sends, or the JMS server used by the receiver WebLogic Server to persist the history of a reliable message sent by a sender.
abstract  JMSStoreMBean getStore()
          Deprecated. 9.0.0.0 use the JMSServer attribute instead
abstract  void setDefaultRetryCount(int count)
          Sets the value of the defaultRetryCount attribute.
abstract  void setDefaultRetryInterval(int interval)
          Sets the value of the defaultRetryInterval attribute.
abstract  void setDefaultTimeToLive(int timeToLive)
          Sets the value of the defaultTimeToLive attribute.
abstract  void setJMSServer(JMSServerMBean server)
          The JMS server used by WebLogic Server, in its role as a sender, to persist the reliable messages that it sends, or the JMS server used by the receiver WebLogic Server to persist the history of a reliable message sent by a sender.
abstract  void setStore(JMSStoreMBean store)
          Deprecated. 9.0.0.0 use the JMSServer attribute instead

 

Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet

 

Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent

 

Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes

 

Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister

 

Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener

 

Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener

 

Method Detail

getStore

JMSStoreMBean getStore()
Deprecated. 9.0.0.0 use the JMSServer attribute instead

The persistent JMS store used by WebLogic Server, in its role as a sender, to persist the reliable messages that it sends, or the persistent JMS store used by the receiver WebLogic Server to persist the history of a reliable message sent by a sender.

Returns:
The store value

setStore

void setStore(JMSStoreMBean store)
              throws InvalidAttributeValueException
Deprecated. 9.0.0.0 use the JMSServer attribute instead

Sets the value of the store attribute.

The persistent JMS store used by WebLogic Server to persist the reliable messages that it either sends or receives.

Parameters:
store - The new store value
Throws:
InvalidAttributeValueException
See Also:
WSReliableDeliveryPolicyMBean.getStore()

getJMSServer

JMSServerMBean getJMSServer()

The JMS server used by WebLogic Server, in its role as a sender, to persist the reliable messages that it sends, or the JMS server used by the receiver WebLogic Server to persist the history of a reliable message sent by a sender.

Returns:
the JMSServer value

setJMSServer

void setJMSServer(JMSServerMBean server)
                  throws InvalidAttributeValueException

The JMS server used by WebLogic Server, in its role as a sender, to persist the reliable messages that it sends, or the JMS server used by the receiver WebLogic Server to persist the history of a reliable message sent by a sender.

Throws:
InvalidAttributeException
InvalidAttributeValueException

getDefaultRetryCount

int getDefaultRetryCount()

The default maximum number of times that the sender runtime should attempt to redeliver a message that the receiver WebLogic Server has not yet acknowledged.

The default maximum number of times that the sender should attempt to redeliver a message that the receiver WebLogic Web service has not yet acknowledged.

Returns:
The defaultRetryCount value

setDefaultRetryCount

void setDefaultRetryCount(int count)
                          throws InvalidAttributeValueException

Sets the value of the defaultRetryCount attribute.

The default maximum number of times that the sender should attempt to redeliver a message that the receiver WebLogic Web service has not yet acknowledged.

Parameters:
count - The new defaultRetryCount value
Throws:
InvalidAttributeValueException
See Also:
WSReliableDeliveryPolicyMBean.getDefaultRetryCount()

getDefaultRetryInterval

int getDefaultRetryInterval()

The default minimum number of seconds that the sender runtime should wait between retries if the receiver does not send an acknowledgement of receiving the message, or if the sender runtime detects a communications error while attempting to send a message.

The default minimum number of seconds that the sender should wait between retries if the receiver does not send an acknowledgement of receiving the message, or if the sender detects a communications error while attempting to send a message.

Returns:
The defaultRetryInterval value

setDefaultRetryInterval

void setDefaultRetryInterval(int interval)
                             throws InvalidAttributeValueException

Sets the value of the defaultRetryInterval attribute.

The default minimum number of seconds that the sender should wait between retries if the receiver does not send an acknowledgement of receiving the message, or if the sender detects a communications error while attempting to send a message.

Parameters:
interval - The new defaultRetryInterval value
Throws:
InvalidAttributeValueException
See Also:
WSReliableDeliveryPolicyMBean.getDefaultRetryInterval()

getDefaultTimeToLive

int getDefaultTimeToLive()

The default number of seconds that the receiver of the reliable message should persist the history of the reliable message in its store.

The default minimum number of seconds that the receiver of the reliably sent message should persist the message in its storage.

If the DefaultTimeToLive number of message have passed since the message was first sent, the sender should not resent a message with the same message id.

If a sender cannot send a message successfully before the DefaultTimeToLive has passed, the sender should report a delivery failure. The receiver, after recovering from a crash, will not dispatch saved messages that have expired.

Returns:
The defaultTimeToLive value

setDefaultTimeToLive

void setDefaultTimeToLive(int timeToLive)
                          throws InvalidAttributeValueException

Sets the value of the defaultTimeToLive attribute.

The default minimum number of seconds that the receiver of the reliably sent message should persist the message in its storage.

If the DefaultTimeToLive number of message have passed since the message was first sent, the sender should not resent a message with the same message id.

If a sender cannot send a message successfully before the DefaultTimeToLive has passed, the sender should report a delivery failure. The receiver, after recovering from a crash, will not dispatch saved messages that have expired.

Parameters:
timeToLive - The new defaultTimeToLive value
Throws:
InvalidAttributeValueException
See Also:
WSReliableDeliveryPolicyMBean.getDefaultTimeToLive()

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09