|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.ra.ActiveMQActivationSpec
public class ActiveMQActivationSpec
Configures the inbound JMS consumer specification using ActiveMQ
Field Summary | |
---|---|
static java.lang.String |
AUTO_ACKNOWLEDGE_MODE
Auto-acknowledge constant for acknowledgeMode property |
static java.lang.String |
DUPS_OK_ACKNOWLEDGE_MODE
Dups-ok-acknowledge constant for acknowledgeMode property * |
static java.lang.String |
DURABLE_SUBSCRIPTION
Durable constant for subscriptionDurability property * |
static int |
INVALID_ACKNOWLEDGE_MODE
|
static java.lang.String |
NON_DURABLE_SUBSCRIPTION
NonDurable constant for subscriptionDurability property * |
Constructor Summary | |
---|---|
ActiveMQActivationSpec()
|
Method Summary | |
---|---|
ActiveMQDestination |
createDestination()
|
java.lang.String |
getAcknowledgeMode()
|
int |
getAcknowledgeModeForSession()
|
short |
getBackOffMultiplier()
|
java.lang.String |
getClientId()
|
java.lang.String |
getDestination()
|
java.lang.String |
getDestinationType()
|
java.lang.String |
getEnableBatch()
|
boolean |
getEnableBatchBooleanValue()
|
long |
getInitialRedeliveryDelay()
|
int |
getMaximumRedeliveries()
|
java.lang.String |
getMaxMessagesPerBatch()
|
int |
getMaxMessagesPerBatchIntValue()
|
java.lang.String |
getMaxMessagesPerSessions()
|
int |
getMaxMessagesPerSessionsIntValue()
|
java.lang.String |
getMaxSessions()
|
int |
getMaxSessionsIntValue()
|
java.lang.String |
getMessageSelector()
|
java.lang.String |
getNoLocal()
|
boolean |
getNoLocalBooleanValue()
|
java.lang.String |
getPassword()
|
javax.resource.spi.ResourceAdapter |
getResourceAdapter()
|
java.lang.String |
getSubscriptionDurability()
|
java.lang.String |
getSubscriptionName()
|
java.lang.String |
getUseRAManagedTransaction()
|
java.lang.String |
getUserName()
|
boolean |
isDurableSubscription()
|
boolean |
isUseExponentialBackOff()
|
boolean |
isUseRAManagedTransactionEnabled()
|
protected RedeliveryPolicy |
lazyCreateRedeliveryPolicy()
|
RedeliveryPolicy |
redeliveryPolicy()
|
void |
setAcknowledgeMode(java.lang.String acknowledgeMode)
|
void |
setActiveMQDestination(ActiveMQDestination destination)
A helper method mostly for use in Dependency Injection containers which allows you to customize the destination and destinationType properties from a single ActiveMQDestination POJO |
void |
setBackOffMultiplier(short backOffMultiplier)
|
void |
setClientId(java.lang.String clientId)
|
void |
setDestination(java.lang.String destination)
|
void |
setDestinationType(java.lang.String destinationType)
|
void |
setEnableBatch(java.lang.String enableBatch)
|
void |
setInitialRedeliveryDelay(long initialRedeliveryDelay)
|
void |
setMaximumRedeliveries(int maximumRedeliveries)
|
void |
setMaxMessagesPerBatch(java.lang.String maxMessagesPerBatch)
|
void |
setMaxMessagesPerSessions(java.lang.String maxMessagesPerSessions)
|
void |
setMaxSessions(java.lang.String maxSessions)
|
void |
setMessageSelector(java.lang.String messageSelector)
|
void |
setNoLocal(java.lang.String noLocal)
|
void |
setPassword(java.lang.String password)
|
void |
setResourceAdapter(javax.resource.spi.ResourceAdapter resourceAdapter)
|
void |
setSubscriptionDurability(java.lang.String subscriptionDurability)
|
void |
setSubscriptionName(java.lang.String subscriptionName)
|
void |
setUseExponentialBackOff(boolean useExponentialBackOff)
|
void |
setUseRAManagedTransaction(java.lang.String useRAManagedTransaction)
|
void |
setUserName(java.lang.String userName)
|
java.lang.String |
toString()
|
void |
validate()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String AUTO_ACKNOWLEDGE_MODE
acknowledgeMode
property
public static final java.lang.String DUPS_OK_ACKNOWLEDGE_MODE
acknowledgeMode
property *
public static final java.lang.String DURABLE_SUBSCRIPTION
subscriptionDurability
property *
public static final java.lang.String NON_DURABLE_SUBSCRIPTION
subscriptionDurability
property *
public static final int INVALID_ACKNOWLEDGE_MODE
Constructor Detail |
---|
public ActiveMQActivationSpec()
Method Detail |
---|
public void validate() throws javax.resource.spi.InvalidPropertyException
validate
in interface javax.resource.spi.ActivationSpec
javax.resource.spi.InvalidPropertyException
ActivationSpec.validate()
public javax.resource.spi.ResourceAdapter getResourceAdapter()
getResourceAdapter
in interface javax.resource.spi.ResourceAdapterAssociation
ResourceAdapterAssociation.getResourceAdapter()
public void setResourceAdapter(javax.resource.spi.ResourceAdapter resourceAdapter) throws javax.resource.ResourceException
setResourceAdapter
in interface javax.resource.spi.ResourceAdapterAssociation
javax.resource.ResourceException
ResourceAdapterAssociation.setResourceAdapter(javax.resource.spi.ResourceAdapter)
public java.lang.String getDestinationType()
public void setDestinationType(java.lang.String destinationType)
destinationType
- The destinationType to set.public java.lang.String getPassword()
public void setPassword(java.lang.String password)
public java.lang.String getUserName()
public void setUserName(java.lang.String userName)
public java.lang.String getMessageSelector()
public void setMessageSelector(java.lang.String messageSelector)
messageSelector
- The messageSelector to set.public java.lang.String getNoLocal()
public void setNoLocal(java.lang.String noLocal)
noLocal
- The noLocal to set.public java.lang.String getAcknowledgeMode()
public void setAcknowledgeMode(java.lang.String acknowledgeMode)
public java.lang.String getClientId()
public void setClientId(java.lang.String clientId)
public java.lang.String getDestination()
public void setDestination(java.lang.String destination)
public java.lang.String getSubscriptionDurability()
public void setSubscriptionDurability(java.lang.String subscriptionDurability)
public java.lang.String getSubscriptionName()
public void setSubscriptionName(java.lang.String subscriptionName)
public boolean isDurableSubscription()
public java.lang.String toString()
toString
in class java.lang.Object
public int getAcknowledgeModeForSession()
public void setActiveMQDestination(ActiveMQDestination destination)
public ActiveMQDestination createDestination()
public java.lang.String getMaxMessagesPerSessions()
public void setMaxMessagesPerSessions(java.lang.String maxMessagesPerSessions)
public java.lang.String getMaxSessions()
public void setMaxSessions(java.lang.String maxSessions)
public java.lang.String getUseRAManagedTransaction()
public void setUseRAManagedTransaction(java.lang.String useRAManagedTransaction)
public int getMaxMessagesPerSessionsIntValue()
public int getMaxSessionsIntValue()
public boolean isUseRAManagedTransactionEnabled()
public boolean getNoLocalBooleanValue()
public java.lang.String getEnableBatch()
public void setEnableBatch(java.lang.String enableBatch)
public boolean getEnableBatchBooleanValue()
public int getMaxMessagesPerBatchIntValue()
public java.lang.String getMaxMessagesPerBatch()
public void setMaxMessagesPerBatch(java.lang.String maxMessagesPerBatch)
public short getBackOffMultiplier()
public long getInitialRedeliveryDelay()
public int getMaximumRedeliveries()
public boolean isUseExponentialBackOff()
public void setBackOffMultiplier(short backOffMultiplier)
public void setInitialRedeliveryDelay(long initialRedeliveryDelay)
public void setMaximumRedeliveries(int maximumRedeliveries)
public void setUseExponentialBackOff(boolean useExponentialBackOff)
public RedeliveryPolicy redeliveryPolicy()
protected RedeliveryPolicy lazyCreateRedeliveryPolicy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |