[jboss-dev-forums] [Design of JCA on JBoss] - Re: No LastResource gambit for non-xa MDB

adrian@jboss.org do-not-reply at jboss.com
Fri Mar 9 12:38:55 EST 2007


We currently print a warning about this at deployment time:


  |          else if (destination instanceof Queue && con instanceof XAQueueConnection)
  |          {
  |             xaSes = ((XAQueueConnection)con).createXAQueueSession();
  |             ses = ((XAQueueSession)xaSes).getQueueSession();
  |          }
  |          else if (destination instanceof Topic && con instanceof TopicConnection)
  |          {
  |             ses = ((TopicConnection)con).createTopicSession(transacted, ack);
  | 
  | HERE
  | 
  |             log.warn("Using a non-XA TopicConnection.  " +
  |                   "It will not be able to participate in a Global UOW");
  |          }
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026682#4026682

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026682



More information about the jboss-dev-forums mailing list