On 4/13/2015 11:35 AM, Manish Rai wrote:
I need some help regarding accessing as400 Userqueue . I need to
enqueue some messages using java process. I tried this api on ibm
as400 but getting exception.

Please help to write down the code. Send me some sample you have .

Are you sure you want to be using a userqueue? The JT400 javadocs for the UserQueue object (http://javadoc.midrange.com/jtopen/com/ibm/as400/access/UserQueue.html) says "This class is currently in pre-BETA status and its existence serves as a placeholder for code under development."

If you are sending messages to another program, I think you might have better luck with a data queue (http://javadoc.midrange.com/jtopen/com/ibm/as400/access/DataQueue.html).

If you are sending messages to a user, look at MessageQueue's (http://javadoc.midrange.com/jtopen/com/ibm/as400/access/MessageQueue.html).


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 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.