Sonic ESB API

com.sonicsw.esb.mgmtapi.config
Interface IJMSTopicEndpointConfig

All Superinterfaces:
IBaseConfig, IEndpointConfig, IJMSEndpointConfig, IQos

public interface IJMSTopicEndpointConfig
extends IJMSEndpointConfig

A facade on IEndpointConfig providing direct access to configuration values applicable to JMS topic based endpoints.. To obtain an instance, use IEndpointConfig.getAdapter(com.sonicsw.esb.mgmtapi.config.IEndpointConfig.EndpointDestinationType) passing in IEndpointConfig.JMS_TOPIC


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sonicsw.esb.mgmtapi.config.IEndpointConfig
IEndpointConfig.EndpointDestinationType, IEndpointConfig.EndpointType
 
Nested classes/interfaces inherited from interface com.sonicsw.esb.mgmtapi.config.IQos
IQos.QOSLevel
 
Field Summary
static int FLOW_TO_DISK_OFF
           
static int FLOW_TO_DISK_ON
           
static int FLOW_TO_DISK_USE_BROKER_SETTING
           
 
Fields inherited from interface com.sonicsw.esb.mgmtapi.config.IEndpointConfig
JMS_ENDPOINT_TYPE, JMS_QUEUE, JMS_TOPIC
 
Fields inherited from interface com.sonicsw.esb.mgmtapi.config.IQos
AT_LEAST_ONCE, BEST_EFFORT, EXACTLY_ONCE
 
Method Summary
 boolean getConcurrentDurable()
          See the MQ Application Programming Guide book.
 java.lang.String getDurableSubscriptionName()
          See the MQ Application Programming Guide book.
 int getFlowToDisk()
          See FLOW_TO_DISK_USE_BROKER_SETTING FLOW_TO_DISK_ON and FLOW_TO_DISK_OFF
 boolean getSharedSubscriptions()
          See the MQ Application Programming Guide book.
 void setConcurrentDurable(boolean concurrentDurable)
          See the MQ Application Programming Guide book.
 void setDurableSubscriptionName(java.lang.String durableSubscriptionName)
          See the MQ Application Programming Guide book. set the durable subscription name used by this endpoint.
 void setFlowToDisk(int flowToDisk)
          Set the flow to disk behavior for publishers to this endpoint.
 void setSharedSubscriptions(boolean sharedSubscriptions)
          See the MQ Application Programming Guide book.
 
Methods inherited from interface com.sonicsw.esb.mgmtapi.config.IJMSEndpointConfig
getDestinationName, getIsTemporary, getMessageSelector, getPriority, getSendTimeout, getTimeToLive, setDestinationName, setIsTemporary, setMessageSelector, setPriority, setSendTimeout, setTimeToLive
 
Methods inherited from interface com.sonicsw.esb.mgmtapi.config.IEndpointConfig
getAdapter, getAdapter, getAsAddress, getConnection, getConnectionConfig, getDestinationType, getEndpointConfigType, getEndpointType, getQOSLevel, getWSDLUrl, isInheritJMSDefaultConnection, setConnectionConfig, setDestinationType, setEndpointTypeConfig, setQOSLevel, setWSDLUrl
 
Methods inherited from interface com.sonicsw.esb.mgmtapi.config.IBaseConfig
getName, getType
 

Field Detail

FLOW_TO_DISK_USE_BROKER_SETTING

static final int FLOW_TO_DISK_USE_BROKER_SETTING
See Also:
Constant Field Values

FLOW_TO_DISK_ON

static final int FLOW_TO_DISK_ON
See Also:
Constant Field Values

FLOW_TO_DISK_OFF

static final int FLOW_TO_DISK_OFF
See Also:
Constant Field Values
Method Detail

getConcurrentDurable

boolean getConcurrentDurable()
See the MQ Application Programming Guide book.

Returns:
true if this endpoint utilizes Concurrent Durable subscriptions.

setConcurrentDurable

void setConcurrentDurable(boolean concurrentDurable)
See the MQ Application Programming Guide book.

Parameters:
concurrentDurable - - true to enable Concurrent Durable subscriptions.

getDurableSubscriptionName

java.lang.String getDurableSubscriptionName()
See the MQ Application Programming Guide book.

Returns:
the durable subscription name used by this endpoint.

setDurableSubscriptionName

void setDurableSubscriptionName(java.lang.String durableSubscriptionName)
See the MQ Application Programming Guide book. set the durable subscription name used by this endpoint.


getSharedSubscriptions

boolean getSharedSubscriptions()
See the MQ Application Programming Guide book.

Returns:
true if this endpoint utilizes Shared Subscriptions.

setSharedSubscriptions

void setSharedSubscriptions(boolean sharedSubscriptions)
See the MQ Application Programming Guide book.

Parameters:
sharedSubscriptions - - true to make this endpoint utilize Shared Subscriptions.

getFlowToDisk

int getFlowToDisk()
See FLOW_TO_DISK_USE_BROKER_SETTING FLOW_TO_DISK_ON and FLOW_TO_DISK_OFF

Returns:
- the current configuration for Flow To Disk for this endpoint.

setFlowToDisk

void setFlowToDisk(int flowToDisk)
Set the flow to disk behavior for publishers to this endpoint.

Parameters:
flowToDisk - One of :
  • FLOW_TO_DISK_USE_BROKER_SETTING
  • FLOW_TO_DISK_ON
  • FLOW_TO_DISK_ON and FLOW_TO_DISK_OFF

Sonic ESB API

Copyright © 2001-2012 Progress Software Corporation. All Rights Reserved.
HTML formatted on 13-Mar-2012.