And the official suggested topic name? You sound like you've uses this
technique so you *must* have a topic name. Thoughts.
Never//ever//EVER//subscribe//here
(Very utilitarian and not likely to ever be intentionally subscribed. Note
the empty topic string levels to further confound would-be subscribers.)
Contemporary/Statesmen
Contemporary/Stateswomen
(Good for testing when there is much demand but zero instances of the data
in question. Not a direct fit for the requirement but useful for certain
types of testing.)
Flat/Earth/Theory
(Something almost nobody subscribes to anymore.)
Stenographer/Weekly
(Ditto.)
/Military/Intelligence
(Said to be an oxymoron and rumored not to exist.)
NSA/Data/Feed
(At least you'll know *why* there's a ghost subscriber.)
Instruction/Manual
(Lots of subscribers but nobody reads the content. Good for performance
testing when you need to give the local QMgr q workout but want the messages
discarded on arrival.)
Die/Wesley/Crusher/Die
(Once a very active topic, now a ghost town.)
Geocities/users/#
(Yet another ghost town.)
Got to go board a plane but it's a good start.
Kind regards,
-- T.Rob
T.Robert Wyatt, Managing partner
IoPT Consulting, LLC
+1 704-443-TROB
https://ioptconsulting.com
https://twitter.com/tdotrob
From: MQSeries List [mailto:MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org] On Behalf Of
Neil Casey
Sent: Thursday, September 11, 2014 18:53 PM
To: MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
Subject: Re: Dummy out a queue...
Hi listers,
actually there is another way to do this. No consumer is required.
Create a topic (TopicName). Don't create any subscribers to it. Give it a
topic string that isn't going to match something that an application would
have a generic subscription on.
Instead of putting to a local queue, create a QAlias, with targtype(topic)
and target(TopicName).
Your PUTs will complete beautifully, and MQ will publish the message to the
topic. Since there are no subscribers, the message is just discarded. Your
putting application is completely unaware of any difference.
And now for the really nice thing. if someone now decides that they need to
run a test where that discarded output has to be captured, you can just run
a program that subscribes to the topic, or create an administrative
subscription and copy the messages into a queue of your choice.
Now, if only pub/sub didn't screw up the message ids, we'd have a really
useful system. <Sigh/>
Regards,
Neil
--
Neil Casey
Senior Consultant | Syntegrity Solutions
+61 414 615 334 <tel:+61%20414%20615%20334>
<mailto:neil.casey-VLLIzlmz+***@public.gmane.org> neil.casey-VLLIzlmz+***@public.gmane.org
Syntegrity Solutions Pty Ltd <http://www.syntegrity.com.au/> | Level 23 |
40 City Road | Southgate | VIC 3006
Analyse >> Integrate >> Secure >> Educate
On 12 Sep 2014, at 4:46 am, Jefferson Lowrey <jlowrey-rIXRsD/***@public.gmane.org> wrote:
Ok. Then Gregg Tuben's suggestion is the only way to do it - set up a
consumer that reads messages continually, and has a buffer length of maybe 1
and ACCEPT_TRUNCATED_MSG set so that it will pull messages of any size.
I wasn't familiar with the zOS dataset meaning of 'dummy', sorry.
Thank you,
Jeff Lowrey
From: "Coombs, Lawrence" <Lawrence.Coombs-***@public.gmane.org>
To: MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
Date: 09/11/2014 01:26 PM
Subject: Re: [MQSERIES] Dummy out a queue...
Sent by: MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>
_____
I would like it to work exactly like z/OS where you can just send the data a
black hole as Petr said. It would work like /dev/null in UNIX.
From: MQSeries List [ <mailto:MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>
mailto:MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org] On Behalf Of Potkay, Peter M (CTO
Architecture + Engineering)
Sent: Thursday, September 11, 2014 1:15 PM
To: MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
Subject: Re: Dummy out a queue...
Or allow a queue to be a black hole where you can dump messages (because the
app can't change the messages to have an Expiry of "1").
Peter Potkay
From: MQSeries List [ <mailto:MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>
mailto:MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org] On Behalf Of Jefferson Lowrey
Sent: Thursday, September 11, 2014 1:43 PM
To: <mailto:MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>
MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
Subject: Re: Dummy out a queue...
Do you mean
"Fill a queue with messages with random content"?
"Fill a queue with messages with random VALID content"?
"Fill a queue with messages with empty data of a fixed size"?
"Fill a queue storage file with random data"?
Thank you,
Jeff Lowrey
From: "Coombs, Lawrence" < <mailto:Lawrence.Coombs-***@public.gmane.org>
Lawrence.Coombs-***@public.gmane.org>
To: <mailto:MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>
MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
Date: 09/11/2014 11:54 AM
Subject: Re: [MQSERIES] Dummy out a queue...
Sent by: MQSeries List < <mailto:MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>
MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>
_____
Has anyone else ever had a need to "dummy" out a queue like you would a
dataset on z/OS? It might sound strange, but when running a stress test,
that might come in handy.
This message, including any attachments, is the property of Sears Holdings
Corporation and/or one of its subsidiaries. It is confidential and may
contain proprietary or legally privileged information. If you are not the
intended recipient, please delete it without reading the contents. Thank
you.
_____
<http://listserv.meduniwien.ac.at/archives/mqser-l.html> List Archive -
<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> Manage Your
List Settings -
<mailto:LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org?subject=Unsubscribe&BODY=signoff%
20mqseries> Unsubscribe
Instructions for managing your mailing list subscription are provided in the
Listserv General Users Guide available at http://www.lsoft.com
<http://www.lsoft.com/resources/manuals.asp>
_____
<http://listserv.meduniwien.ac.at/archives/mqser-l.html> List Archive -
<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> Manage Your
List Settings -
<mailto:LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org?subject=Unsubscribe&BODY=signoff%
20mqseries> Unsubscribe
Instructions for managing your mailing list subscription are provided in the
Listserv General Users Guide available at
<http://www.lsoft.com/resources/manuals.asp> http://www.lsoft.com
************************************************************
This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential and/or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited. If you
are not the intended recipient, please notify the sender immediately by
return e-mail, delete this communication and destroy all copies.
************************************************************
_____
<http://listserv.meduniwien.ac.at/archives/mqser-l.html> List Archive -
<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> Manage Your
List Settings -
<mailto:LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org?subject=Unsubscribe&BODY=signoff%
20mqseries> Unsubscribe
Instructions for managing your mailing list subscription are provided in the
Listserv General Users Guide available at http://www.lsoft.com
<http://www.lsoft.com/resources/manuals.asp>
This message, including any attachments, is the property of Sears Holdings
Corporation and/or one of its subsidiaries. It is confidential and may
contain proprietary or legally privileged information. If you are not the
intended recipient, please delete it without reading the contents. Thank
you.
_____
<http://listserv.meduniwien.ac.at/archives/mqser-l.html> List Archive -
<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> Manage Your
List Settings -
<mailto:LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org?subject=Unsubscribe&BODY=signoff%
20mqseries> Unsubscribe
Instructions for managing your mailing list subscription are provided in the
Listserv General Users Guide available at http://www.lsoft.com
<http://www.lsoft.com/resources/manuals.asp>
_____
List Archive <http://listserv.meduniwien.ac.at/archives/mqser-l.html> -
Manage Your List Settings
<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> -
Unsubscribe
<mailto:LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org?subject=Unsubscribe&BODY=signoff%
20mqseries>
Instructions for managing your mailing list subscription are provided in the
Listserv General Users Guide available at http://www.lsoft.com
<http://www.lsoft.com/resources/manuals.asp>
_____
List Archive <http://listserv.meduniwien.ac.at/archives/mqser-l.html> -
Manage Your List Settings
<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> -
Unsubscribe
<mailto:LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org?subject=Unsubscribe&BODY=signoff%
20mqseries>
Instructions for managing your mailing list subscription are provided in the
Listserv General Users Guide available at http://www.lsoft.com
<http://www.lsoft.com/resources/manuals.asp>
To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html