axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AXIS2-5524) JMSSender should not use a shared session or producer
Date Sun, 24 Jan 2016 15:34:40 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-5524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Veithen updated AXIS2-5524:
-----------------------------------
    Fix Version/s:     (was: 1.7.0)
                   1.7.1

> JMSSender should not use a shared session or producer
> -----------------------------------------------------
>
>                 Key: AXIS2-5524
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5524
>             Project: Axis2
>          Issue Type: Bug
>          Components: JMS transport
>            Reporter: Andreas Veithen
>            Priority: Critical
>             Fix For: 1.7.1
>
>         Attachments: AXIS2-5524.patch
>
>
> Depending on the cache level, the JMSConnectionFactory stores a "shared" session and/or
message producer. These objects are used by the JMSSender (via JMSMessageSender). Since sessions
and producers are not thread safe, this will lead to concurrency issues. Note that initially
the JMSListener used a similar pattern. This has been corrected [1], but the issue has never
been addressed for the JMSSender. The concept of "shared" session/producer should be eliminated
altogether from JMSConnectionFactory.
> [1] http://markmail.org/message/umhenrurlrekk5jh



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message