Package com.sun.messaging.jmq.jmsclient

Examples of com.sun.messaging.jmq.jmsclient.XAConnectionImpl


     * @exception JMSSecurityException  if client authentication fails due to
     *                         invalid user name or password.
     */
    public XAConnection createXAConnection(String username, String password) throws JMSException {
        return new XAConnectionImpl(getCurrentConfiguration(), username, password, getConnectionType());
    }
View Full Code Here


  protected String _getRAUID() {
 
    if (raUID==null && !_isRADirect()){
      try {
        // Note that we deliberately create this connection when first needed rather than in start() to avoid CR 6986977
        XAConnectionImpl xaci = (com.sun.messaging.jmq.jmsclient.XAConnectionImpl) xacf.createXAConnection();
        raUID = Long.toString(xaci.generateUID());
        xaci.close();
      } catch (JMSException jmse){
        _loggerB.severe("Unable to generate UID:"+jmse.getMessage());
      }
    }
   
View Full Code Here

TOP

Related Classes of com.sun.messaging.jmq.jmsclient.XAConnectionImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.