|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Using MQ via JMS apis... |
« View previous topic :: View next topic » |
Author |
Message
|
sjaganna |
Posted: Thu Apr 09, 2009 4:15 pm Post subject: Using MQ via JMS apis... |
|
|
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 |
|
 |
mqjeff |
Posted: Thu Apr 09, 2009 5:18 pm Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Thu Apr 09, 2009 9:19 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|