|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Another 2059 problem |
« View previous topic :: View next topic » |
Author |
Message
|
nangles |
Posted: Mon Dec 15, 2008 8:45 am Post subject: problem with amqmdnet & net |
|
|
Newbie
Joined: 15 Dec 2008 Posts: 1
|
Hi, i have a problem, i'm working with amqmdnet and vb net for connecting to MQServer, when my program connect to the MQServer each mininute for looking for some message, i don't have any problem, but when i configure it for connecting to the MQServer each 5 seconds, to work fine for one moment and then fail, in my log i have the code reason 2059, Maybe someone has had the same problem? |
|
Back to top |
|
 |
exerk |
Posted: Mon Dec 15, 2008 9:41 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
It would have been better to start a new thread rather than open one that is nearly five years old!
Do not poll a queue manager - it is inefficient to connect/open/put-get/close/disconnect, especially every 5 seconds; stay connected, keep the queue open, and wait!
Also of help; what is your WMQ version? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Dec 15, 2008 11:35 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Split from here as
a) the thread was years old
b) the new post had nothing to do with the previous thread realistically _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Dec 15, 2008 11:38 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
exerk wrote: |
It would have been better to start a new thread rather than open one that is nearly five years old! |
exerk wrote: |
Do not poll a queue manager - it is inefficient to connect/open/put-get/close/disconnect, especially every 5 seconds; stay connected, keep the queue open, and wait! |
While you're working out how to start your own threads, put some effort into the search function. The 2059 code is probably the most common one, and has been discussed endlessly on the forum. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
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
|
|
|
|