qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gordon Sim (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Commented: (QPID-549) AMQConnection.start() is not threadsafe
Date Wed, 12 Dec 2007 14:02:43 GMT

    [ https://issues.apache.org/jira/browse/QPID-549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550972

Gordon Sim commented on QPID-549:

That method states in the java doc that "this method must be called only from a single thread
and is not thread safe (which is legal according to the JMS specification).". However the
specification requires the Connection class to be threadsafe.

It was reported that multiple calls to this method result in an exception due to concurrent
access violation of some internal structure. I haven't verified that, but raised this issue
to highlight the incorrect assumption documented in the comment.

> AMQConnection.start() is not threadsafe
> ---------------------------------------
>                 Key: QPID-549
>                 URL: https://issues.apache.org/jira/browse/QPID-549
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client, JMS Compliance
>    Affects Versions: M2
>            Reporter: Gordon Sim

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message