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 » access MQ Serires queues from a JMS application

Post new topic  Reply to topic
 access MQ Serires queues from a JMS application « View previous topic :: View next topic » 
Author Message
Memo
PostPosted: Wed Nov 19, 2003 1:34 am    Post subject: access MQ Serires queues from a JMS application Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed Nov 19, 2003 6:22 am    Post subject: Reply with quote

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
View user's profile Send private message
muraki
PostPosted: Wed Nov 19, 2003 2:36 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Thu Nov 20, 2003 6:12 am    Post subject: Reply with quote

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
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 » access MQ Serires queues from a JMS application
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.