|
Alan,
I'd be curious as to where you've read that....
I'm pretty sure both use the MI Queue object.
Perhaps you're thinking of "monitoring exceptions" as is using the
MONMSG, or the MONITOR op-code to handle exceptions?
Exception handling is expensive, so for example when converting dates,
if you expect a higher percentage of invalid dates, it's better to
check first before doing the conversion that way you avoid the expense
of throwing an exception.
Charles
On Wed, Jan 19, 2011 at 11:48 AM, Alan Campin <alan0307d@xxxxxxxxx> wrote:
I always read that the worse thing you can do to the system is to monitoron
a message queue. It is very expensive but that might have changed withnew
processors. Data queues very efficient.list
On Tue, Jan 18, 2011 at 8:01 PM, Joe Sam Shirah <joe_sam@xxxxxxxxxxxxx
wrote:
Hi David,
Yeah, theoretically ...
No theory to it. I've used message queues since 2000.
There's a better argument now to use data queues because there's less
maintenance involved than there used to be. However, if you check the
messagewhere this question has appeared many times, I've always suggested
Methodqueues, but never pooh-poohed data queues, chiefly because I never saw a
reason to down anyone else's ideas. Message queues are Just Another
passof IPC.
Joe Sam
Joe Sam Shirah - http://www.conceptgo.com
conceptGO - Consulting/Development/Outsourcing
Java Filter Forum: http://www.ibm.com/developerworks/java/
Just the JDBC FAQs: http://www.jguru.com/faq/JDBC
Going International? http://www.jguru.com/faq/I18N
Que Java400? http://www.jguru.com/faq/Java400
----- Original Message -----
From: "David Gibbs" <david@xxxxxxxxxxxx>
To: "Java Programming on and around the IBM i" <java400-l@xxxxxxxxxxxx>
Sent: Tuesday, January 18, 2011 7:21 PM
Subject: Re: Java class return data to calling CL program
On 1/18/2011 4:47 PM, Joe Sam Shirah wrote:
Native message queues are another possibility.
Yeah, theoretically ... but data queues are specifically intended to
mailingdata around. Message queues aren't.
david
--
IBM i on Power -- For when you can't afford to be out of business.
--
This is the Java Programming on and around the IBM i (JAVA400-L)
list--list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.
--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing
list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.
This is the Java Programming on and around the IBM i (JAVA400-L) mailing
To post a message email: JAVA400-L@xxxxxxxxxxxx--
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.
This is the Java Programming on and around the IBM i (JAVA400-L) mailing
list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.