|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
NULL Queue |
« View previous topic :: View next topic » |
Author |
Message
|
RogerLacroix |
Posted: Tue Nov 17, 2015 10:26 am Post subject: NULL Queue |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Nov 17, 2015 11:14 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
How about using the new features of V8 and forcing the expiry?
Or if the application was JMS and the queue was in the properties file, redefine the queue in the URI form with near immediate expiry of the messages...?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
tczielke |
Posted: Tue Nov 17, 2015 1:45 pm Post subject: |
|
|
Guardian
Joined: 08 Jul 2010 Posts: 941 Location: Illinois, USA
|
This thread was also posted on the MQ LISTSERV, and Paul Clarke mentioned that just doing the following could be done:
Code: |
DEFINE TOPIC(NULLTOPIC) TOPICSTR('.NULL.') SUB(DISABLED)
DEFINE QALIAS(NULLQ) TARGTYPE(TOPIC) TARGET(NULLTOPIC)
|
When your applications PUT to the NULLQ, they will go to a topic with no subscribers, and then be discarded. I wish I had known about this, before I wrote a COBOL program this year to basically do what Roger had coded with emptyQ!
P.S. - We do not use PUB/SUB, so I may have messed up some of the PUB/SUB terminology, above. _________________ Working with MQ since 2010. |
|
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
|
|
|
|