[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-1068) Investigate Bridge under load
Tim Fox (JIRA)
jira-events at lists.jboss.org
Mon Sep 17 10:18:11 EDT 2007
[ http://jira.jboss.com/jira/browse/JBMESSAGING-1068?page=comments#action_12377148 ]
Tim Fox commented on JBMESSAGING-1068:
--------------------------------------
This is trhe offending code:
SessionAspect:
/** http://jira.jboss.org/jira/browse/JBMESSAGING-946 - To accomodate TCK and the MQ behavior
* we should behave as non transacted, AUTO_ACK when there is no transaction enlisted
* However when the Session is being used by ASF we should consider the case where
* we will convert LocalTX to GlobalTransactions.
* This function helper will ensure the condition that needs to be tested on this aspect
* */
private boolean isXAAndConsideredNonTransacted(SessionState state)
{
return state.isXA() && (state.getCurrentTxId() instanceof LocalTx) && (state.getDistinguishedListener() == null);
}
When JTA is being used without ASF the distinguished listener will be null, so weill fail.
> Investigate Bridge under load
> -----------------------------
>
> Key: JBMESSAGING-1068
> URL: http://jira.jboss.com/jira/browse/JBMESSAGING-1068
> Project: JBoss Messaging
> Issue Type: Task
> Reporter: Clebert Suconic
> Assigned To: Clebert Suconic
> Fix For: 1.4.0.GA
>
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list