Take a look at the mqjmsreq.java and mqjmssrv.java programs out on: http://www.developer.ibm.com/tech/sampmq.html
I think they might be doing what you want. Ron --- "McCarty, Brian" <[EMAIL PROTECTED]> wrote: > I have a JMS request/reply program where I > am sending a message that is a request...but I want > to the reply sent to a queue/queue manager that I am > not actually connected to. Meaning that if I was to > use a MQ program I would just code a specific > reply-to-queue-manager and reply-to-queue in the > MQMD so they are sent to an alternate destination > automatically. > > However, the problem is that when you use: > > outMessage.setJMSReplyTo(destx); you have to > pass a valid qReceiver/destination object (at least > I think so). However, since I don't actually want > to create a receiver, just pass the > reply-to-queue/reply-to-queue manager from the JMS > header to the MQMD...I'm stuck! Do you know how I > can set the MQMD fields manually without passing > through the setJMSReplyTo method? > > Any help would be appreciated. > > Thanks, > > Brian M. McCarty > USAA, Senior Systems Programmer > 210.913.1678 > MQ/WMQI Specialist/Solutions Expert > e-business Solution Advisor/Designer/Technologist > > Instructions for managing your mailing list > subscription are provided in > the Listserv General Users Guide available at > http://www.lsoft.com > Archive: http://vm.akh-wien.ac.at/MQSeries.archive __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive