Author |
Message |
Topic: Setting MQ exclusive-read client properties in JMS |
RGFanta
Replies: 26 Views: 23379
|
Forum: IBM MQ Java / JMS Posted: Thu Sep 23, 2010 7:39 pm Subject: Reply to fjb |
Fjb, there are no anti-patterns here.
Did you see the previous postings with a) the (verbatim quote) from the IBM® JMS extensions documentation? b) the fact that we're not using the full J2EE fram ... |
Topic: Setting MQ exclusive-read client properties in JMS |
RGFanta
Replies: 26 Views: 23379
|
Forum: IBM MQ Java / JMS Posted: Thu Sep 23, 2010 5:55 pm Subject: Direct quote |
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=/com.ibm.mq.csqzaw.doc/jm35150_.htm
WebSphere® MQ classes for JMS contains a set of extensions to the JMS API called the IBM® J ... |
Topic: Setting MQ exclusive-read client properties in JMS |
RGFanta
Replies: 26 Views: 23379
|
Forum: IBM MQ Java / JMS Posted: Thu Sep 23, 2010 5:36 pm Subject: Reply to mqjeff |
I think you misunderstand the role of XA or the meaning of "best effort" in this case.
I've used XA and similar "best effort, first commit" systems for years, and am told that ... |
Topic: Setting MQ exclusive-read client properties in JMS |
RGFanta
Replies: 26 Views: 23379
|
Forum: IBM MQ Java / JMS Posted: Thu Sep 23, 2010 4:16 pm Subject: Are you forgetting that distributed transactions don't work? |
No, this merely means that you think you need to solve this with a single instance and with an exclusive consumer.
If you externalize the state to a database, then you can update multiple sets of ... |
Topic: Setting MQ exclusive-read client properties in JMS |
RGFanta
Replies: 26 Views: 23379
|
Forum: IBM MQ Java / JMS Posted: Thu Sep 23, 2010 3:57 pm Subject: Disagree, Vitor |
Vitor, I can't agree with you.
MQ JMS is built on top of (non-JMS) MQ, so "bending" should be trivial with good documentation on what is a very straight-forward issue. Sadly, reality is ... |
Topic: Setting MQ exclusive-read client properties in JMS |
RGFanta
Replies: 26 Views: 23379
|
Forum: IBM MQ Java / JMS Posted: Thu Sep 23, 2010 6:26 am Subject: Our use case and design is pretty solid |
Thanks for your reply.
Going the controlling route you'd need to set the attribute on the destination.
This is where there is some difficulty as the attribute is not readily available when you ... |
Topic: Setting MQ exclusive-read client properties in JMS |
RGFanta
Replies: 26 Views: 23379
|
Forum: IBM MQ Java / JMS Posted: Wed Sep 22, 2010 1:07 pm Subject: That won't work |
Again, What in the world is the point of having MQ extensions to JMS if not to easily enable MQ custom behavior to a JMS application??
In this case, the goal is very simple. I want to use MQ JMS ... |
Topic: Setting MQ exclusive-read client properties in JMS |
RGFanta
Replies: 26 Views: 23379
|
Forum: IBM MQ Java / JMS Posted: Wed Sep 22, 2010 12:32 pm Subject: Problem is simple, the solution seems needlessly difficult. |
In a non-JMS Java MQ application you just set MQOO_INPUT_EXCLUSIVE=1, MQOO_INPUT_SHARED=0 as open options and it works well. [i.e. The first reader gets the connection, others block.]
How to use M ... |
Topic: Setting MQ exclusive-read client properties in JMS |
RGFanta
Replies: 26 Views: 23379
|
Forum: IBM MQ Java / JMS Posted: Wed Sep 22, 2010 5:34 am Subject: How to set properties?? |
Yes, trying to set the properties like this is wrong but harmless and has no effect:
Quote:
queue = (MQQueue) session.createQueue("queue:///MY.TEST.QUEUE?MQC.MQOO_INPUT_EX ... |
Topic: Setting MQ exclusive-read client properties in JMS |
RGFanta
Replies: 26 Views: 23379
|
Forum: IBM MQ Java / JMS Posted: Tue Sep 21, 2010 12:26 pm Subject: Same issue, not seeing how/where to set exclusive property |
Hi,
I'm having the same issue trying to set the equivalent of MQOO_INPUT_EXCLUSIVE=1, MQOO_INPUT_SHARED=0 for a JMS based application.
Below is my sample code.
Nothing I have tried has worked ... |
Topic: Setting MQ exclusive-read client properties in JMS |
RGFanta
Replies: 26 Views: 23379
|
Forum: IBM MQ Java / JMS Posted: Wed Sep 15, 2010 11:47 am Subject: Setting MQ exclusive-read client properties in JMS |
Hi,
Is there any way to MQSeries properties like Exclusive Read: On, Shareability: Off for JMS MQSeries clients?
While we can set this up on the MQ server side using default properties on the ... |
Topic: Client-side calls to see who is connected to a queue? |
RGFanta
Replies: 3 Views: 2726
|
Forum: General Discussion Posted: Fri Sep 03, 2010 8:24 am Subject: Client-side calls to see who is connected to a queue? |
Hi,
Within MQSeries are there any client-side calls that can be made to see which app or host+port is connected to a given queue?
If that's not always available directly, can some admin options ... |