× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Add QMQMJAVA library into your library list, and in the Java code specify a
binding connection:

          MQEnvironment.hostname = getMQHost();
          if (getMQHost().equalsIgnoreCase("localhost"))
               MQEnvironment.properties.put(
                    MQC.TRANSPORT_PROPERTY,
                    MQC.TRANSPORT_MQSERIES_BINDINGS);
          else
               MQEnvironment.properties.put(
                    MQC.TRANSPORT_PROPERTY,
                    MQC.TRANSPORT_MQSERIES_CLIENT);

          MQEnvironment.port = getMQPort();
          MQEnvironment.channel = getMQChannel();


Attila




                    "O'Sullivan,
                    Patrick"                  To:     
"'java400-l@midrange.com'" <java400-l@midrange.com>
                    <OSullivanP@bis.ad        cc:
                    p.com>                    Subject:     MQ Problem with 
writing to a remote queue on local AS/400
                    Sent by:
                    java400-l-admin@mi
                    drange.com


                    04/30/2002 05:44
                    AM
                    Please respond to
                    java400-l






This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
I currently have a java application (on AS/400) which fails when writing to
a remote queue on the same AS/400.  The same application running on NT has
no problem writing to a remote queue on the same NT platform.  The only way
that I could get the app. to write to a local queue on a remote system was
to set up a channel of type 'server connection'.  I am them able to write
directly to the local queue on the remote system.  I would prefer to write
to the remote queue on the 400 and let the transmission queue take care of
delivering the message to the remote system.  Has anyone ever come across
this problem.
Thanking you in advance,
Pat O'Sullivan
ICI/ADP

_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
or email: JAVA400-L-request@midrange.com
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 thread ...


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

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.