public class NevadoConnectionFactory extends Object implements javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, javax.jms.TopicConnectionFactory, Serializable, Referenceable
Modifier and Type | Field and Description |
---|---|
static String |
JNDI_AWS_ACCESS_KEY |
static String |
JNDI_AWS_SECRET_KEY |
static String |
JNDI_CLIENT_ID |
static String |
JNDI_DURABLE_SUBSCRIBER_PREFIX_OVERRIDE |
static String |
JNDI_JMS_DELIVERY_MODE |
static String |
JNDI_JMS_PRIORITY |
static String |
JNDI_JMS_TTL |
static String |
JNDI_MAX_POLL_WAIT_MS |
static String |
JNDI_SNS_ENDPOINT |
static String |
JNDI_SQS_CONNECTOR_FACTORY_CLASS |
static String |
JNDI_SQS_ENDPOINT |
Constructor and Description |
---|
NevadoConnectionFactory() |
NevadoConnectionFactory(SQSConnectorFactory sqsConnectorFactory) |
public static final String JNDI_AWS_ACCESS_KEY
public static final String JNDI_AWS_SECRET_KEY
public static final String JNDI_CLIENT_ID
public static final String JNDI_JMS_DELIVERY_MODE
public static final String JNDI_JMS_TTL
public static final String JNDI_JMS_PRIORITY
public static final String JNDI_SNS_ENDPOINT
public static final String JNDI_SQS_ENDPOINT
public static final String JNDI_SQS_CONNECTOR_FACTORY_CLASS
public static final String JNDI_MAX_POLL_WAIT_MS
public static final String JNDI_DURABLE_SUBSCRIBER_PREFIX_OVERRIDE
public NevadoConnectionFactory()
public NevadoConnectionFactory(SQSConnectorFactory sqsConnectorFactory)
public NevadoQueueConnection createQueueConnection() throws javax.jms.JMSException
createQueueConnection
in interface javax.jms.QueueConnectionFactory
javax.jms.JMSException
public NevadoQueueConnection createQueueConnection(String awsAccessKey, String awsSecretKey) throws javax.jms.JMSException
createQueueConnection
in interface javax.jms.QueueConnectionFactory
javax.jms.JMSException
public NevadoConnection createConnection() throws javax.jms.JMSException
createConnection
in interface javax.jms.ConnectionFactory
javax.jms.JMSException
public NevadoConnection createConnection(String awsAccessKey, String awsSecretKey) throws javax.jms.JMSException
createConnection
in interface javax.jms.ConnectionFactory
javax.jms.JMSException
public NevadoTopicConnection createTopicConnection() throws javax.jms.JMSException
createTopicConnection
in interface javax.jms.TopicConnectionFactory
javax.jms.JMSException
public javax.jms.TopicConnection createTopicConnection(String awsAccessKey, String awsSecretKey) throws javax.jms.JMSException
createTopicConnection
in interface javax.jms.TopicConnectionFactory
javax.jms.JMSException
public void setSqsConnectorFactory(SQSConnectorFactory sqsConnectorFactory)
public SQSConnectorFactory getSqsConnectorFactory()
public void setAwsAccessKey(String awsAccessKey)
public void setAwsSecretKey(String awsSecretKey)
public void setAwsSQSEndpoint(String awsSQSEndpoint)
public void setAwsSNSEndpoint(String awsSNSEndpoint)
public void setClientID(String clientID)
public void setOverrideJMSDeliveryMode(Integer jmsDeliveryMode)
public void setOverrideJMSTTL(Long jmsTTL)
public void setOverrideJMSPriority(Integer jmsPriority)
public String getAwsAccessKey()
public String getAwsSecretKey()
public String getClientID()
public Integer getJMSDeliveryMode()
public Long getJMSTTL()
public Integer getJMSPriority()
public void setTemporaryQueueSuffix(String temporaryQueueSuffix)
public void setTemporaryTopicSuffix(String temporaryTopicSuffix)
public void setMaxPollWaitMs(long maxPollWaitMs)
public void setDurableSubscriberPrefixOverride(String durableSubscriberPrefixOverride)
public String getAwsSQSEndpoint()
public String getAwsSNSEndpoint()
public long getMaxPollWaitMs()
public String getDurableSubscriberPrefixOverride()
public Reference getReference() throws NamingException
getReference
in interface Referenceable
NamingException
Copyright © 2014. All Rights Reserved.