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 » General IBM MQ Support » Using MQ via JMS apis...

Post new topic  Reply to topic
 Using MQ via JMS apis... « View previous topic :: View next topic » 
Author Message
sjaganna
PostPosted: Thu Apr 09, 2009 4:15 pm    Post subject: Using MQ via JMS apis... Reply with quote

Novice

Joined: 20 Feb 2009
Posts: 16

Hi,

I have couple of questions regarding connecting to MQ using JMS apis:

1. Can I set MQMD properties such as the message persistences, replyToQueue, etc using JMS apis?

2. I have a MQ cluster of queue managers. I have a queue on each of the queue managers in the cluster. If I connect to a queue manager and put a message then would the message be load balanced across the queue managers.

Thanks
Srikanth
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Apr 09, 2009 5:18 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Don't use JMS if you're not in a Java Enterprise container.

Otherwise:
1) Some properties
2) If you do things right.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Apr 09, 2009 9:19 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Let me be a little more explicit than Jeff.

There is nothing wrong with using JMS as a stand alone app. Preferably use the file based JNDI. Be aware however that you are not reaping the full benefit of a J2EE container driven JMS implementation. You will not reap the benefits of pooling, it will be hard to be able to get a multi-phase commit transaction to begin with as you will have trouble defining a datasource for example to a stand alone JMS....

For the properties Using Java manual

For the clustering: Assuming your cluster is set up right, and until you are truly comfortable with JMS in the cluster, I have found it beneficial to use a cluster alias (see intercommunications manual about qmgr alias, and with a little imagination you'll get the cluster alias).

Have fun
_________________
MQ & Broker admin
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 » General IBM MQ Support » Using MQ via JMS apis...
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.