>"The MQ Client interface is not thread-safe. You cannot safely use MQ
Client
>connections to the same  queue manager from multiple threads within the
same
>process (for example, a Workflow Web Client Servlet)  ..."

Stefan,

I don't agree that the client is not thread-safe. Thread safe implies that
you can 'safely' use the MQI from multiple threads, which you can. What you
can't do (until recently) was use a connection that was created on one
thread, in an MQI call in another thread. This, I would say, is thread
unfriendly, but not thread unsafe. This limitation was an architectural
one, defned in the MQI specification, not a feature of the client.

In 5.3 a new type of connection can be made, which is a shared connection.
A shared connection *can* be used by any thread. This is available both on
the server and the client.

Cheers,
P.

Paul G Clarke
WebSphere MQ Development
IBM Hursley

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to