Sonic ESB API

com.sonicsw.esb.mgmtapi.config
Interface IJMSQueueEndpointConfig

All Superinterfaces:
IBaseConfig, IEndpointConfig, IJMSEndpointConfig, IQos

public interface IJMSQueueEndpointConfig
extends IJMSEndpointConfig

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


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
 
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
 int getPrefetchCount()
          See the MQ Application Programming Guide book.
 int getPrefetchThreshold()
          See the MQ Application Programming Guide book.
 void setPrefetchCount(int prefetchCount)
          See the MQ Application Programming Guide book.
 void setPrefetchThreshold(int prefetchThreshold)
          Set the number of remaining messages which trigger a queue fetch.
 
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
 

Method Detail

getPrefetchCount

int getPrefetchCount()
See the MQ Application Programming Guide book.

Returns:
the number of JMS Queue messages that are pre-fetched.

setPrefetchCount

void setPrefetchCount(int prefetchCount)
See the MQ Application Programming Guide book.

Parameters:
prefetchCount - - the number of JMS Queue messages that are pre-fetched.

getPrefetchThreshold

int getPrefetchThreshold()
See the MQ Application Programming Guide book.

Returns:
- the number of remaining messages which trigger a queue fetch.

setPrefetchThreshold

void setPrefetchThreshold(int prefetchThreshold)
Set the number of remaining messages which trigger a queue fetch.


Sonic ESB API

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