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 » Java MQ: Best way to put a msg into a Remote Queue

Post new topic  Reply to topic
 Java MQ: Best way to put a msg into a Remote Queue « View previous topic :: View next topic » 
Author Message
ashtophoenix
PostPosted: Wed Jul 01, 2009 10:33 am    Post subject: Java MQ: Best way to put a msg into a Remote Queue Reply with quote

Newbie

Joined: 01 Jul 2009
Posts: 1

Hi - I have the following configuration defined:

LOCALLY:

- 1 Remote Queue Definition (QX)
- With Tx Queue QT
- 1 Transmission Queue (QT)
- 1 Sender Channel
- With Tx Queue QT

Please assume that the REMOTE system has a counterpart Queue of QX and the appropriate Receiver Channel defined.

Now I want to write a Java client that will run on a different machine and be able to send messages to Remote Queue - QX.

What is the best way to do this? One way I could think of was to define a "Server-Connection" Channel locally and have the client app send messages to this channel, addressed to "QX".

Is this the best/right way?

Thanks,

-Sid
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jul 01, 2009 12:34 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

How many different ways do you think there actually are?
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 01, 2009 2:15 pm    Post subject: Re: Java MQ: Best way to put a msg into a Remote Queue Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

ashtophoenix wrote:
One way I could think of was to define a "Server-Connection" Channel locally and have the client app send messages to this channel, addressed to "QX".


Apps don't send messages to channels. They use channels to connect to queue managers, and put messages onto queues.

The Intercommunication manual explains all this. With diagrams.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Java MQ: Best way to put a msg into a Remote Queue
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.