flex.messaging.services.messaging.adapters
Class JMSSettings.DeliverySettings

java.lang.Object
  extended by flex.messaging.services.messaging.adapters.JMSSettings.DeliverySettings
Enclosing class:
JMSSettings

public static class JMSSettings.DeliverySettings
extends Object

A static inner class for delivery settings.


Constructor Summary
JMSSettings.DeliverySettings()
          Creates a default DeliverySettings instance with default settings.
 
Method Summary
 String getMode()
          Returns the message delivery mode.
 long getSyncReceiveIntervalMillis()
          Returns the interval of the sync receive message call.
 long getSyncReceiveWaitMillis()
          Returns how long a JMS proxy waits for a message before returning.
 void setMode(String mode)
          Sets the message delivery mode.
 void setSyncReceiveIntervalMillis(long syncReceiveIntervalMillis)
          Sets the interval of the receive message call.
 void setSyncReceiveWaitMillis(long syncReceiveWaitMillis)
          Sets how long a JMS proxy waits for a message before returning.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMSSettings.DeliverySettings

public JMSSettings.DeliverySettings()
Creates a default DeliverySettings instance with default settings.

Method Detail

getMode

public String getMode()
Returns the message delivery mode.

Returns:
The message delivery mode.

setMode

public void setMode(String mode)
Sets the message delivery mode. This property is optional and defaults to sync.

Parameters:
mode - The message delivery mode. Valid values are async and sync.

getSyncReceiveIntervalMillis

public long getSyncReceiveIntervalMillis()
Returns the interval of the sync receive message call.

Returns:
The interval of the sync receive message call.

setSyncReceiveIntervalMillis

public void setSyncReceiveIntervalMillis(long syncReceiveIntervalMillis)
Sets the interval of the receive message call. This property is optional and defaults to 100.

Parameters:
syncReceiveIntervalMillis - A positive long that indicates the interval of the receive message call.

getSyncReceiveWaitMillis

public long getSyncReceiveWaitMillis()
Returns how long a JMS proxy waits for a message before returning.

Returns:
How long a JMS proxy waits for a message before returning.

setSyncReceiveWaitMillis

public void setSyncReceiveWaitMillis(long syncReceiveWaitMillis)
Sets how long a JMS proxy waits for a message before returning. This property is optional and defaults to zero (no wait).

Parameters:
syncReceiveWaitMillis - A non-negative value that indicates how long a JMS proxy waits for a message before returning. Zero means no wait, negative one means wait until a message arrives.


Copyright © 2008 Adobe Systems Inc. All Rights Reserved.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/services/messaging/adapters/JMSSettings.DeliverySettings.html