|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.common.jms.ActiveMqProvider
public class ActiveMqProvider
Implementation of IJmsProvider for the ActiveMQ jms system.
| Field Summary |
|---|
| Fields inherited from interface org.openanzo.services.IJmsProvider |
|---|
SELECTOR_NOT_TRANSACTION_BEGIN, SELECTOR_NOT_TRANSACTION_COMPLETE, SELECTOR_TRANSACTION_BEGIN, SELECTOR_TRANSACTION_COMPLETE |
| Constructor Summary | |
|---|---|
ActiveMqProvider()
|
|
| Method Summary | |
|---|---|
void |
connectProvider(javax.jms.Session session,
javax.jms.Destination updateDestination,
javax.jms.MessageListener listener)
Do any provider specific operations in order to finish connecting to provider. |
javax.jms.Destination |
convertReplyToDestination(javax.jms.Session session,
javax.jms.Destination destination)
Do any provider specific operations that are needed in order to convert a replyToDestination to a Destination object that the provider can send messages. |
java.lang.String |
convertSelectorString(java.lang.String selector)
Do any provider specific operations in order to make a selector string valid for the provider |
javax.jms.Destination |
convertStringToDestination(javax.jms.Session session,
java.lang.String destination)
Do any provider specific operations that are needed in order to convert a String representation of a Destination to a Destination object that the provider can send messages. |
javax.jms.ConnectionFactory |
createConnectionFactory(java.util.Properties properties)
Create a new ActiveMq connection factory. |
void |
disconnectProvider()
Do any provider specific operations in order to finish disconnecting from a provider. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActiveMqProvider()
| Method Detail |
|---|
public javax.jms.ConnectionFactory createConnectionFactory(java.util.Properties properties)
createConnectionFactory in interface IJmsProviderproperties - Configuration properties for the ConnectionFactory
ConnectionFactory
public javax.jms.Destination convertReplyToDestination(javax.jms.Session session,
javax.jms.Destination destination)
IJmsProvider
convertReplyToDestination in interface IJmsProvidersession - Session destination is a member ofdestination - Destination to convert
public java.lang.String convertSelectorString(java.lang.String selector)
IJmsProvider
convertSelectorString in interface IJmsProviderselector - Selector string to convert
public javax.jms.Destination convertStringToDestination(javax.jms.Session session,
java.lang.String destination)
IJmsProvider
convertStringToDestination in interface IJmsProvidersession - Session destination is a member ofdestination - String representation of destination to convert
public void connectProvider(javax.jms.Session session,
javax.jms.Destination updateDestination,
javax.jms.MessageListener listener)
throws javax.jms.JMSException
IJmsProvider
connectProvider in interface IJmsProvidersession - Session operation is occurring withinupdateDestination - The Destination object representing the updateDestinationlistener - The messageListener for said connection.
javax.jms.JMSException
public void disconnectProvider()
throws javax.jms.JMSException
IJmsProvider
disconnectProvider in interface IJmsProviderjavax.jms.JMSException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||