ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Transmission Queue Header

Post new topic  Reply to topic
 Transmission Queue Header « View previous topic :: View next topic » 
Author Message
J.Dawson
PostPosted: Wed Jan 21, 2004 5:53 am    Post subject: Transmission Queue Header Reply with quote

Novice

Joined: 16 May 2001
Posts: 21
Location: Dallas, Texas

Does anyone have JAVA code that shows how to append a transmission queue header to a message and moves values into the transmission queue header? I'm trying to send message to remote queue managers without using remote queue definitions.


Thanks,

John
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Wed Jan 21, 2004 5:59 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You probably don't want to do this. Whatever you're trying to do is probably better solved using normal remote queues, remote queue definitions to aliases, queue manager aliases, or clusters.

But if you *really* do, then you'll have to use the writeXXXX() methods to create the header manually. And set all the appropriate MQMD fields correctly as well.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
JasonE
PostPosted: Wed Jan 21, 2004 7:06 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

Dont build XQH's manually - look at queue manage aliases (which I am reliably informed this process is documented in Table 3 in the APG - Queue name resolution for MQOPEN).
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Wed Jan 21, 2004 8:01 am    Post subject: Re: Transmission Queue Header Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

J.Dawson wrote:
I'm trying to send message to remote queue managers without using remote queue definitions.

Just curious... WHY?

Michael
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
J.Dawson
PostPosted: Wed Jan 21, 2004 8:38 am    Post subject: Transmission Queue Header Reply with quote

Novice

Joined: 16 May 2001
Posts: 21
Location: Dallas, Texas

Michael,

My reasoning is that I have an application that takes messages from numerous customers from numerous sites and want to receive the reply-to-queue and reply-to-queue-manager information to create the reply message without having to determine which customer it came from. This way I can service the customer from messages come from different applications. All I need is a transmission queue to the customer regardless of which application is be serviced.


Regards,

John
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Wed Jan 21, 2004 9:13 am    Post subject: Re: Transmission Queue Header Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

J.Dawson wrote:
My reasoning is that I have an application that takes messages from numerous customers from numerous sites and want to receive the reply-to-queue and reply-to-queue-manager information to create the reply message without having to determine which customer it came from.
The customer should be setting the ReplyToQueue and ReplyToQueueManager field in their request message, which your application should then use when putting the reply message. And then you should use Queue Manager aliases, or clustering, to prevent having to create a remote definition for every queue that they might want to receive.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
J.Dawson
PostPosted: Wed Jan 21, 2004 12:44 pm    Post subject: Transmission Queue Header Reply with quote

Novice

Joined: 16 May 2001
Posts: 21
Location: Dallas, Texas

Everyone,

Thanks for the input, it's invaluable!


Thanks again,

John
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Transmission Queue Header
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.