org.marketcetera.client.jms
Class JmsManager

java.lang.Object
  extended by org.marketcetera.client.jms.JmsManager

public class JmsManager
extends Object

A Spring-wrapped JMS connection manager.

Since:
1.0.0
Version:
$Id: JmsManager.java 16154 2012-07-14 16:34:05Z colin $
Author:
tlerios@marketcetera.com

Constructor Summary
JmsManager(ConnectionFactory incomingCF, ConnectionFactory outgoingCF)
          Creates a new manager that uses the given standard JMS connection factories to create factories for Spring-wrapped connections.
JmsManager(ConnectionFactory incomingCF, ConnectionFactory outgoingCF, ExceptionListener exceptionListener)
          Creates a new manager that uses the given standard JMS connection factories to create factories for Spring-wrapped connections, and directs exceptions to the given listener, if any.
 
Method Summary
 IncomingJmsFactory getIncomingJmsFactory()
          Returns the receiver's Spring-wrapped factory of incoming connections.
 OutgoingJmsFactory getOutgoingJmsFactory()
          Returns the receiver's Spring-wrapped factory of outgoing connections.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmsManager

public JmsManager(ConnectionFactory incomingCF,
                  ConnectionFactory outgoingCF,
                  ExceptionListener exceptionListener)
Creates a new manager that uses the given standard JMS connection factories to create factories for Spring-wrapped connections, and directs exceptions to the given listener, if any.

Parameters:
incomingCF - The incoming factory.
outgoingCF - The outgoing factory.
exceptionListener - The listener. It may be null.

JmsManager

public JmsManager(ConnectionFactory incomingCF,
                  ConnectionFactory outgoingCF)
Creates a new manager that uses the given standard JMS connection factories to create factories for Spring-wrapped connections. No custom exception listener is used.

Parameters:
incomingCF - The incoming factory.
outgoingCF - The outgoing factory.
Method Detail

getIncomingJmsFactory

public IncomingJmsFactory getIncomingJmsFactory()
Returns the receiver's Spring-wrapped factory of incoming connections.

Returns:
The factory.

getOutgoingJmsFactory

public OutgoingJmsFactory getOutgoingJmsFactory()
Returns the receiver's Spring-wrapped factory of outgoing connections.

Returns:
The factory.


Copyright © 2012. All Rights Reserved.