Author |
Message |
Topic: Messages Drain too slowly |
jkfriends
Replies: 19 Views: 8764
|
Forum: General IBM MQ Support Posted: Thu Jan 26, 2012 11:44 am Subject: Messages Drain too slowly |
No, this is a Windows service. When you stop the service from the service manager in Windows, I drop a STOP command myself (i.e., instance) to shutdown itself. No sys admin is involved.
So there' ... |
Topic: Messages Drain too slowly |
jkfriends
Replies: 19 Views: 8764
|
Forum: General IBM MQ Support Posted: Thu Jan 26, 2012 11:31 am Subject: Messages Drain too slowly |
I just pasted only the core logic. I do have the logic to stop the listener gracefully if the message string is set to "STOP_SERVICE_{Guid}" where Guid is the unique generated identifier th ... |
Topic: Messages Drain too slowly |
jkfriends
Replies: 19 Views: 8764
|
Forum: General IBM MQ Support Posted: Thu Jan 26, 2012 9:59 am Subject: Messages Drain too slowly |
I just pasted only the core logic. I do have the logic to stop the listener gracefully if the message string is set to "STOP_SERVICE_{Guid}" where Guid is the unique generated identifier th ... |
Topic: Messages Drain too slowly |
jkfriends
Replies: 19 Views: 8764
|
Forum: General IBM MQ Support Posted: Thu Jan 26, 2012 9:14 am Subject: Messages Drain too slowly |
Hi, I've searched on this forum for this but no clear solution. Here's my situation. I have a .NET (C#) program listening to a WebSPhere MQ queue. Some application on the AIX side drops messages in ... |
Topic: MQ client 6.1 delay in writing to queue |
jkfriends
Replies: 17 Views: 16714
|
Forum: IBM MQ API Support Posted: Thu Oct 14, 2010 1:31 pm Subject: MQ client 6.1 delay in writing to queue |
Sorry....I didn't mean to. It did not me an offence. Both C# and Java code look alike. |
Topic: MQ client 6.1 delay in writing to queue |
jkfriends
Replies: 17 Views: 16714
|
Forum: IBM MQ API Support Posted: Thu Oct 14, 2010 1:22 pm Subject: MQ client 6.1 delay in writing to queue |
The code snippet above is .NET C# and not JAVA!!
* Application does several things besides putting a message in a queue.
* The application creates XML messages (about 4000 to 6000 bytes size) and ... |
Topic: MQ client 6.1 delay in writing to queue |
jkfriends
Replies: 17 Views: 16714
|
Forum: IBM MQ API Support Posted: Thu Oct 14, 2010 12:10 pm Subject: MQ client 6.1 delay in writing to queue |
Ok - here's what I observed. It is definitely the queue write (put command) actually takes 17 seconds....
I have a trace line that displays "About to invoke put" command - time stamp.
... |
Topic: MQ client 6.1 delay in writing to queue |
jkfriends
Replies: 17 Views: 16714
|
Forum: IBM MQ API Support Posted: Thu Oct 14, 2010 11:22 am Subject: MQ client 6.1 delay in writing to queue |
I understand but anything we can do to keep it "hot" all the time? |
Topic: MQ client 6.1 delay in writing to queue |
jkfriends
Replies: 17 Views: 16714
|
Forum: IBM MQ API Support Posted: Thu Oct 14, 2010 8:45 am Subject: MQ client 6.1 delay in writing to queue |
fjb_saper, I don't understand your reply. When I drop a message into that queue, it will be immediately picked up by other application to process the message. So the queue would be empty most of the ... |
Topic: MQ client 6.1 delay in writing to queue |
jkfriends
Replies: 17 Views: 16714
|
Forum: IBM MQ API Support Posted: Thu Oct 14, 2010 6:27 am Subject: MQ client 6.1 delay in writing to queue |
Hi, I'm using MQ client 6.1 and coding it in .NET 3.5 using C#.
The following code snippet works great however I notice that when there's no activity in the queue for a while, the next time when we ... |
Topic: amqscnxc tool with 2035 error |
jkfriends
Replies: 1 Views: 5588
|
Forum: IBM MQ API Support Posted: Tue Jan 12, 2010 2:21 pm Subject: amqscnxc tool with 2035 error |
I'm trying to verify the connectivity after installing MQ Client v7.0 on Windows 2008 (R2, x64)
amqscnxc -x 198.246.1.1(1596) -c SYSTEM.AUTO.SVRCONN XXGAYY29
Sample AMQSCNXC start
Connecting to ... |
Topic: MQ transaction support |
jkfriends
Replies: 14 Views: 18738
|
Forum: IBM MQ API Support Posted: Thu Oct 15, 2009 9:58 am Subject: MQ transaction support |
Regarding explicit Begin() command throws an exception 2012 (MQ environment error or something). So how do I use the Begin() command?
To my previous question (if I use GET_SYNCPOINT + UNLIMITED wa ... |
Topic: MQ transaction support |
jkfriends
Replies: 14 Views: 18738
|
Forum: IBM MQ API Support Posted: Thu Oct 15, 2009 9:54 am Subject: MQ transaction support |
I did not explain the whole picture. The code that I posted above is one part of the puzzle. It will be a Windows Service.
OnStart()
Open MQ resources & others
OnMessagePump ... |
Topic: MQ transaction support |
jkfriends
Replies: 14 Views: 18738
|
Forum: IBM MQ API Support Posted: Thu Oct 15, 2009 9:13 am Subject: MQ transaction support |
Got it working now. Instead of mixing TransactionScope from .NET with MQ APIs, I decided to ignore .NET transaction scope completely.
Here is the logic that I implemented in C# using purely MQ API ... |
Topic: MQ transaction support |
jkfriends
Replies: 14 Views: 18738
|
Forum: IBM MQ API Support Posted: Thu Oct 15, 2009 4:36 am Subject: MQ transaction support |
Thanks Vitor. I got the concept and I'm almost done with my C# prototype. I do use MQGMO_SYNCPOINT option while doing the get within a transaction scope (.NET) with wait interval of 3 seconds. If I ... |