public class QpidActivationSpec extends ConnectionFactoryProperties implements javax.resource.spi.ActivationSpec, Serializable
Constructor and Description |
---|
QpidActivationSpec()
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getAcknowledgeMode()
Get the acknowledge mode
|
int |
getAcknowledgeModeInt() |
String |
getDestination()
Get the destination
|
String |
getDestinationType()
Get the destination type
|
Integer |
getMaxSession()
Get the number of max session
|
String |
getMessageSelector()
Get the message selector
|
Integer |
getPrefetchHigh()
Get the prefetch high
|
Integer |
getPrefetchLow()
Get the prefetch low
|
javax.resource.spi.ResourceAdapter |
getResourceAdapter()
Get the resource adapter
|
int |
getSetupAttempts() |
long |
getSetupInterval() |
String |
getSubscriptionDurability()
Get the subscription durability
|
String |
getSubscriptionName()
Get the subscription name
|
Integer |
getTransactionTimeout()
Get the transaction timeout
|
boolean |
isSubscriptionDurable()
Get the status of subscription durability
|
Boolean |
isUseConnectionPerHandler() |
boolean |
isUseJNDI() |
void |
setAcknowledgeMode(String value)
Set the acknowledge mode
|
void |
setDestination(String value)
Set the destination
|
void |
setDestinationType(String value)
Set the destination type
|
void |
setMaxSession(Integer value)
Set the number of max session
|
void |
setMessageSelector(String value)
Set the message selector
|
void |
setPrefetchHigh(Integer prefetchHigh)
Set the prefetch high
|
void |
setPrefetchLow(Integer prefetchLow)
Set the prefetch low
|
void |
setResourceAdapter(javax.resource.spi.ResourceAdapter ra)
Set the resource adapter
|
void |
setSetupAttempts(int setupAttempts) |
void |
setSetupInterval(long setupInterval) |
void |
setSubscriptionDurability(String value)
Set the subscription durability
|
void |
setSubscriptionName(String value)
Set the subscription name
|
void |
setTransactionTimeout(Integer value)
Set the transaction timeout
|
void |
setUseConnectionPerHandler(Boolean connectionPerHandler) |
void |
setUseJNDI(boolean value) |
String |
toString()
Get a string representation
|
void |
validate()
Validate
|
getClientId, getConnectionURL, getHost, getPassword, getPath, getPort, getUserName, isHasBeenUpdated, isUseLocalTx, setClientId, setConnectionURL, setHost, setPassword, setPath, setPort, setUseLocalTx, setUserName
public javax.resource.spi.ResourceAdapter getResourceAdapter()
getResourceAdapter
in interface javax.resource.spi.ResourceAdapterAssociation
public boolean isUseJNDI()
public void setUseJNDI(boolean value)
value
- the useJNDI to setpublic void setResourceAdapter(javax.resource.spi.ResourceAdapter ra) throws javax.resource.ResourceException
setResourceAdapter
in interface javax.resource.spi.ResourceAdapterAssociation
ra
- The resource adapterjavax.resource.ResourceException
- Thrown if incorrect resource adapterpublic String getDestination()
public void setDestination(String value)
value
- The valuepublic String getDestinationType()
public void setDestinationType(String value)
value
- The valuepublic String getMessageSelector()
public void setMessageSelector(String value)
value
- The valuepublic String getAcknowledgeMode()
public void setAcknowledgeMode(String value)
value
- The valuepublic int getAcknowledgeModeInt()
public String getSubscriptionDurability()
public void setSubscriptionDurability(String value)
value
- The valuepublic boolean isSubscriptionDurable()
public String getSubscriptionName()
public void setSubscriptionName(String value)
value
- The valuepublic Integer getMaxSession()
public void setMaxSession(Integer value)
value
- The valuepublic Integer getTransactionTimeout()
public void setTransactionTimeout(Integer value)
value
- The valuepublic Integer getPrefetchLow()
public void setPrefetchLow(Integer prefetchLow)
prefetchLow
- The valuepublic Integer getPrefetchHigh()
public void setPrefetchHigh(Integer prefetchHigh)
prefetchHigh
- The valuepublic int getSetupAttempts()
public void setSetupAttempts(int setupAttempts)
public long getSetupInterval()
public void setSetupInterval(long setupInterval)
public Boolean isUseConnectionPerHandler()
public void setUseConnectionPerHandler(Boolean connectionPerHandler)
public void validate() throws javax.resource.spi.InvalidPropertyException
validate
in interface javax.resource.spi.ActivationSpec
javax.resource.spi.InvalidPropertyException
- Thrown if a validation exception occursCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.