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 » can we use MQ Client to publish a message using MQ JMS

Post new topic  Reply to topic
 can we use MQ Client to publish a message using MQ JMS « View previous topic :: View next topic » 
Author Message
Suresh Gupta
PostPosted: Tue Sep 25, 2007 1:18 am    Post subject: can we use MQ Client to publish a message using MQ JMS Reply with quote

Apprentice

Joined: 29 Jun 2005
Posts: 46
Location: India

HI , I need info on MQ JMS , the existing scenario is like request/reply , we have two servers , requesting application is running on first server and provider application is running on second server. in the present set up we installed MQ Server on both systems, we are using MQ - JMS to publish the message to the queue, we created Queue connection factories and generated binding to publish a message to the queue in first server, my question is, can we use MQ Client instead of MQ server at requesting application side to publish a message directly to the local queue at Provider application MQ Server with out changing the Java code and binding files
_________________
regards,
Suresh
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Vitor
PostPosted: Tue Sep 25, 2007 1:32 am    Post subject: Reply with quote

Grand High Poobah

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

Client uses different libs & jars. AFAIK you'd need to change the QCF from bindings to client, but that's AFAIK & it's not very far with Java.

Aside from that, there's no difference between a client putting to a local queue and a bound application putting to a local queue unless you're using XA transactions.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Suresh Gupta
PostPosted: Tue Sep 25, 2007 2:01 am    Post subject: Reply with quote

Apprentice

Joined: 29 Jun 2005
Posts: 46
Location: India

Thanks for your reply Victor , but in one of the document I read like To use the bindings connection, IBM WebSphere MQ JMS classes must be installed on the IBM WebSphere MQ server
can you suggest me me other option to uninstall MQ Server at requesting application and to use only MQ Client with major changes at requesting application side
_________________
regards,
Suresh
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Vitor
PostPosted: Tue Sep 25, 2007 2:16 am    Post subject: Reply with quote

Grand High Poobah

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

Suresh Gupta wrote:
but in one of the document I read like To use the bindings connection, IBM WebSphere MQ JMS classes must be installed on the IBM WebSphere MQ server


Absolutely yes. As I said, you must change from bindings to client to use the client, which is your only option if MQ server is not installed on the box. Bindings is only possible to a local queue manager.

Suresh Gupta wrote:

can you suggest me me other option to uninstall MQ Server at requesting application and to use only MQ Client with major changes at requesting application side


If you have no MQ server at the requesting side you have no queue manager at the requesting side & your options become a little limited.....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Sep 25, 2007 4:05 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Yes, as long as there is an MQServer somewhere, you can publish/subscribe between any two JMS applications. Those apps don't have to establish bindings connections at all, they can run on any machine.

They should always have the MQ Client installed on the same machine though.

And they need to use a QCF that defines a client connection.

And they cna't do XA if they are using the regular client.

The only thing you would need to change if you have a JMS app that connects using bindings that you want to use client is a) the MQ software, and b) the QCF.
_________________
I am *not* the model of the modern major general.
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 » can we use MQ Client to publish a message using MQ JMS
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.