ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Search

 Search found 3 matches
Author Message
  Topic: error 2018 with multiple threads in C#
Asim

Replies: 6
Views: 5154

PostForum: General IBM MQ Support   Posted: Tue May 18, 2004 8:20 am   Subject: error 2018 with multiple threads in C#
I figured it out based on your replies.
I was initializing the object instance (which had the connection to the queue manager), then calling the method that sent the messages in a new thread.
That ...
  Topic: error 2018 with multiple threads in C#
Asim

Replies: 6
Views: 5154

PostForum: General IBM MQ Support   Posted: Tue May 18, 2004 5:39 am   Subject: error 2018 with multiple threads in C#
I am opening the connection in the object.
This creates the connection to the queue manager:

SendToMQServer s = new SendToMQServer();

and then this is called:
Thread thSt3 = new Thread(new T ...
  Topic: error 2018 with multiple threads in C#
Asim

Replies: 6
Views: 5154

PostForum: General IBM MQ Support   Posted: Mon May 17, 2004 1:39 pm   Subject: error 2018 with multiple threads in C#
Hi,
I am connecting to an MQServer using a C# app. The problem is when I start a new thread, I get error 2018. Creating and running my object in the main thread is no problem.
This works:
SendToMQ ...
Page 1 of 1

Jump to:  
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.