Sun Java System Application Server Platform Edition 8.2 Administration Guide

Activation Spec Properties

Properties in this section are specified in the sun specific deployment descriptor of MDB as activation-config-properties. All the properties specified in resource adapter section can be overridden in an ActivationSpec. Additional properties available only in ActivationSpec are given below.

Property Name

Valid Value

Default Value

Description

MaxPoolSize 

An integer 

Maximum size of server session pool internally created by resource adapter for achieving concurrent message delivery. This should be equal to maximum pool size of MDB objects. 

MaxWaitTime 

An integer 

Resource Adapter will wait for the time in seconds specified by this property to obtain a server session from its internal pool. If this limit is exceeded message delivery will fail. 

SubscriptionDurability 

?Durable? or ?Non-Durable? 

?Non-Durable? 

SubscriptionDurability as specified by JMS 1.1 specification. 

SubscriptionName  

 

NA 

SubscriptionName as specified by JMS 1.1 specification. 

MessageSelector 

A valid message selector 

NA 

MessageSelector as specified by JMS 1.1 specification. 

ClientID 

A valid client ID 

NA 

ClientID as specified by JMS 1.1 specification. 

ConnectionFactoryJndiName 

A valid Jndi Name 

NA 

JNDI name of connection factory created in JMS provider. This connection factory will be used by resource adapter to create a connection to receive messages. Used only if ProviderIntegrationMode is configured as jndi. 

DestinationJndiName 

A valid Jndi Name 

NA 

JNDI name of destination created in JMS provider. This destination will be used by resource adapter to create a connection to receive messages from. Used only if ProviderIntegrationMode is configured as jndi. 

DestinationType 

?javax.jms.Queue? or ?javax.jms.Topic? 

javax.jms.Queue) 

Type of the destination the MDB will listen to. 

DestinationProperties 

Name Value Pairs separated by comma 

NA 

This specifies the javabean propery names and values of the Destination of jms client. Required only if ProviderIntegrationMode is javabean. 

RedeliveryAttempts 

integer 

 

Number of times a message will be redelivered in case a message cause a runtime exception in the MDB. 

RedeliveryInterval 

time in seconds 

 

Interval between repeated deliveries, in case a message causes a runtime exception in the MDB. 

SendBadMessagesToDMD 

true/false 

false 

Indicates whether RA should send the messages to a dead message destination, if redelivery attempts is exceeded. 

DeadMessageDestinationJndiName 

a valid JNDI name. 

none 

JNDI name of destination created in JMS provider. Target destination for dead messages. Used only if ProviderIntegrationMode is configured as jndi. 

DeadMessageDestinationClassName 

class name of destination object. 

none 

Used if ProviderIntegrationMode is specified as javabean. 

DeadMessageDestinationProperties 

Name Value Pairs separated by comma 

NA 

This specifies the javabean propery names and values of the Destination of the JMS client. Required only if ProviderIntegrationMode is javabean. 

ReconnectAttempts 

integer 

 

Number of times a reconnect will be attempted in case exception listener catches an error on connection. 

ReconnectInterval 

time in seconds 

 

interval between reconnects.