|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
access MQ Serires queues from a JMS application |
« View previous topic :: View next topic » |
Author |
Message
|
Memo |
Posted: Wed Nov 19, 2003 1:34 am Post subject: access MQ Serires queues from a JMS application |
|
|
Newbie
Joined: 19 Nov 2003 Posts: 1
|
Hi,
I need to access MQ Serires queues from a JMS application. I am using Borland Application Server as EJB container.
I want a bean to read directly from the MQ series queue and also to write to the queue. Is it possible or do I need the MQS Java API for that? |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Nov 19, 2003 6:22 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You should simply need to connect in the JMS classes in your project, or whatever, and then use the JMS code normally.
There are examples of using JMS in the "Using Java" manual available through the 'Documentation' button at the top of the screen. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
muraki |
Posted: Wed Nov 19, 2003 2:36 pm Post subject: |
|
|
Apprentice
Joined: 25 Apr 2003 Posts: 27
|
Hi,
Need to store the MQseries objects in the JNDI repository and try to get these Objects in JMS using JNDI look up...
--------------------------------------------------------------------------------------
U can store below listed eight types of WebSphere MQ JMS object within a JNDI namespace. Then, JMS clients can use JNDI to retrieve these administered objects from the namespace and use them.
MQQueueConnectionFactory
MQTopicConnectionFactory
MQQueue
MQTopic
MQXAQueueConnectionFactory
MQXATopicConnectionFactory
JMSWrapXAQueueConnectionFactory
JMSWrapXATopicConnectionFactory
--Hope this helps _________________ muraki |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Nov 20, 2003 6:12 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
muraki wrote: |
Hi,
Need to store the MQseries objects in the JNDI repository and try to get these Objects in JMS using JNDI look up... |
Actually, no you don't. The Using Java manual has sample code for creating all of these things at runtime instead of using JNDI to look them up.
It's just good practice to look them up from JDNI, at least in a J2EE environment. _________________ I am *not* the model of the modern major general. |
|
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
|
|
|
|