org.skyscreamer.nevado.jms
Class NevadoConnectionFactory

java.lang.Object
  extended by org.skyscreamer.nevado.jms.NevadoConnectionFactory
All Implemented Interfaces:
Serializable, javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, javax.jms.TopicConnectionFactory, Referenceable

public class NevadoConnectionFactory
extends Object
implements javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, javax.jms.TopicConnectionFactory, Serializable, Referenceable

Created by IntelliJ IDEA. User: Carter Page Date: 3/18/12 Time: 8:49 PM

See Also:
Serialized Form

Field Summary
static String JNDI_AWS_ACCESS_KEY
           
static String JNDI_AWS_SECRET_KEY
           
static String JNDI_CLIENT_ID
           
static String JNDI_JMS_DELIVERY_MODE
           
static String JNDI_JMS_PRIORITY
           
static String JNDI_JMS_TTL
           
 
Constructor Summary
NevadoConnectionFactory()
           
NevadoConnectionFactory(SQSConnectorFactory sqsConnectorFactory)
           
 
Method Summary
 NevadoConnection createConnection()
           
 NevadoConnection createConnection(String awsAccessKey, String awsSecretKey)
           
 NevadoQueueConnection createQueueConnection()
           
 NevadoQueueConnection createQueueConnection(String awsAccessKey, String awsSecretKey)
           
 NevadoTopicConnection createTopicConnection()
           
 javax.jms.TopicConnection createTopicConnection(String awsAccessKey, String awsSecretKey)
           
 String getAwsAccessKey()
           
 String getAwsSecretKey()
           
 String getClientID()
           
 Integer getJMSDeliveryMode()
           
 Integer getJMSPriority()
           
 Long getJMSTTL()
           
 Reference getReference()
           
 void setAwsAccessKey(String awsAccessKey)
           
 void setAwsSecretKey(String awsSecretKey)
           
 void setAwsSNSEndpoint(String awsSNSEndpoint)
           
 void setAwsSQSEndpoint(String awsSQSEndpoint)
           
 void setClientID(String clientID)
           
 void setOverrideJMSDeliveryMode(Integer jmsDeliveryMode)
           
 void setOverrideJMSPriority(Integer jmsPriority)
           
 void setOverrideJMSTTL(Long jmsTTL)
           
 void setSqsConnectorFactory(SQSConnectorFactory sqsConnectorFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JNDI_AWS_ACCESS_KEY

public static final String JNDI_AWS_ACCESS_KEY
See Also:
Constant Field Values

JNDI_AWS_SECRET_KEY

public static final String JNDI_AWS_SECRET_KEY
See Also:
Constant Field Values

JNDI_CLIENT_ID

public static final String JNDI_CLIENT_ID
See Also:
Constant Field Values

JNDI_JMS_DELIVERY_MODE

public static final String JNDI_JMS_DELIVERY_MODE
See Also:
Constant Field Values

JNDI_JMS_TTL

public static final String JNDI_JMS_TTL
See Also:
Constant Field Values

JNDI_JMS_PRIORITY

public static final String JNDI_JMS_PRIORITY
See Also:
Constant Field Values
Constructor Detail

NevadoConnectionFactory

public NevadoConnectionFactory()

NevadoConnectionFactory

public NevadoConnectionFactory(SQSConnectorFactory sqsConnectorFactory)
Method Detail

createQueueConnection

public NevadoQueueConnection createQueueConnection()
                                            throws javax.jms.JMSException
Specified by:
createQueueConnection in interface javax.jms.QueueConnectionFactory
Throws:
javax.jms.JMSException

createQueueConnection

public NevadoQueueConnection createQueueConnection(String awsAccessKey,
                                                   String awsSecretKey)
                                            throws javax.jms.JMSException
Specified by:
createQueueConnection in interface javax.jms.QueueConnectionFactory
Throws:
javax.jms.JMSException

createConnection

public NevadoConnection createConnection()
                                  throws javax.jms.JMSException
Specified by:
createConnection in interface javax.jms.ConnectionFactory
Throws:
javax.jms.JMSException

createConnection

public NevadoConnection createConnection(String awsAccessKey,
                                         String awsSecretKey)
                                  throws javax.jms.JMSException
Specified by:
createConnection in interface javax.jms.ConnectionFactory
Throws:
javax.jms.JMSException

createTopicConnection

public NevadoTopicConnection createTopicConnection()
                                            throws javax.jms.JMSException
Specified by:
createTopicConnection in interface javax.jms.TopicConnectionFactory
Throws:
javax.jms.JMSException

createTopicConnection

public javax.jms.TopicConnection createTopicConnection(String awsAccessKey,
                                                       String awsSecretKey)
                                                throws javax.jms.JMSException
Specified by:
createTopicConnection in interface javax.jms.TopicConnectionFactory
Throws:
javax.jms.JMSException

setSqsConnectorFactory

public void setSqsConnectorFactory(SQSConnectorFactory sqsConnectorFactory)

setAwsAccessKey

public void setAwsAccessKey(String awsAccessKey)

setAwsSecretKey

public void setAwsSecretKey(String awsSecretKey)

setAwsSQSEndpoint

public void setAwsSQSEndpoint(String awsSQSEndpoint)

setAwsSNSEndpoint

public void setAwsSNSEndpoint(String awsSNSEndpoint)

setClientID

public void setClientID(String clientID)

setOverrideJMSDeliveryMode

public void setOverrideJMSDeliveryMode(Integer jmsDeliveryMode)

setOverrideJMSTTL

public void setOverrideJMSTTL(Long jmsTTL)

setOverrideJMSPriority

public void setOverrideJMSPriority(Integer jmsPriority)

getAwsAccessKey

public String getAwsAccessKey()

getAwsSecretKey

public String getAwsSecretKey()

getClientID

public String getClientID()

getJMSDeliveryMode

public Integer getJMSDeliveryMode()

getJMSTTL

public Long getJMSTTL()

getJMSPriority

public Integer getJMSPriority()

getReference

public Reference getReference()
                       throws NamingException
Specified by:
getReference in interface Referenceable
Throws:
NamingException


Copyright © 2012. All Rights Reserved.