Arch4J 1.1

org.arch4j.messaging.websphere
Class WebsphereMessageQueueFacade

java.lang.Object
  |
  +--org.arch4j.messaging.MessageFacade
        |
        +--org.arch4j.messaging.MessageQueueFacade
              |
              +--org.arch4j.messaging.websphere.WebsphereMessageQueueFacade
Direct Known Subclasses:
WebsphereMessageQueueFacadeWithCaching

public class WebsphereMessageQueueFacade
extends MessageQueueFacade

Provides the implementation methods specific to Websphere for the SpiderLogic message queue facade class. org.arch4j.messaging.WebsphereMessageQueueFacade.

Version:
1.0
Author:
David Colwell
See Also:
MessageQueueFacade

Field Summary
protected  String MESSAGING_VENDOR_DOMAIN
          The base services property file name.
 
Constructor Summary
WebsphereMessageQueueFacade()
           
 
Method Summary
 javax.jms.QueueConnectionFactory getQueueConnectionFactory()
          Implements the Websphere specific implementation to retrieve a QueueConnectionFactory from JNDI.
 javax.jms.Queue lookupQueue(String queueName)
          Lookup the specified queue.
 
Methods inherited from class org.arch4j.messaging.MessageQueueFacade
close, closeConnection, createQueueBrowser, createQueueReciever, createQueueSender, getQueueConnection, getQueueSession, getSession, initialize, initialize, startConnection
 
Methods inherited from class org.arch4j.messaging.MessageFacade
commit, createBytesMessage, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createStreamMessage, createTextMessage, createTextMessage, rollback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MESSAGING_VENDOR_DOMAIN

protected final String MESSAGING_VENDOR_DOMAIN
The base services property file name.

See Also:
Constant Field Values
Constructor Detail

WebsphereMessageQueueFacade

public WebsphereMessageQueueFacade()
Method Detail

getQueueConnectionFactory

public javax.jms.QueueConnectionFactory getQueueConnectionFactory()
Implements the Websphere specific implementation to retrieve a QueueConnectionFactory from JNDI. It will only be retrieved once by this object and the reference held for subsequent retrieval.

Specified by:
getQueueConnectionFactory in class MessageQueueFacade

lookupQueue

public javax.jms.Queue lookupQueue(String queueName)
Lookup the specified queue.

Specified by:
lookupQueue in class MessageQueueFacade
Returns:
The Queue, if it exists. Otherwise, null.

Arch4J 1.1

Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.