|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Cannot multi-thread PCFMessageAgent |
« View previous topic :: View next topic » |
Author |
Message
|
jefflowrey |
Posted: Tue Apr 03, 2007 3:28 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
First thing to try is to only declare the PCFMessageAgent inside the thread, not outside.
In other words, don't use a class scoped object, use a thread scoped object. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Michael Dag |
Posted: Wed Apr 04, 2007 10:18 pm Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
goodwillta wrote: |
Please Help!!! I surely can't be the first to have battled this!!! |
Post your code and then maybe someone can have a look at it and maybe help you solve it. _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Apr 05, 2007 2:59 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
And make sure ALL threads are using a client connection...
MQ has a tendency to allow only one concurrent connection in bindings mode in the same JVM...
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Apr 06, 2007 11:39 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Quote: |
props.put(MQC.CHANNEL_PROPERTY, this.hostName);
props.put(MQC.HOST_NAME_PROPERTY, this.svrConnChannel); |
I hope you see the problem here as clearly as I do...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|