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 » How to use JMS in WSAD ???

Post new topic  Reply to topic
 How to use JMS in WSAD ??? « View previous topic :: View next topic » 
Author Message
elvis_gn
PostPosted: Sun Nov 28, 2004 12:04 am    Post subject: How to use JMS in WSAD ??? Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

I am trying to fix up a connection to send an XML message from the Web portal to a queue using JMS...
Is it possible to send it with WSAD itself or will MQ have to be installed for the same ????
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Sun Nov 28, 2004 6:37 am    Post subject: Reply with quote

Grand High Poobah

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

The version of MQ delivered with WSAD referred to as internal MQ is very limited and does not allow for outside connections. If you do not want to setup a qmgr on the WSAD box you can use a client connection. Remember to define it in the admin console under Websphere MQ JMS.
Remember as well to make sure all the jars from MQ are on the classpath.

Enjoy
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Sun Nov 28, 2004 11:53 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Please post questions into correct forum.
[Mocing to Java/JMS Forum]
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Sun Nov 28, 2004 3:58 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I don't think that WebSphere Studio Application Developer has any JMS functionality in it.

You might be able to find some Eclipse plug-ins. And the WebSphere Business Integration Message Broker Toolkit has some JMS functions in it.

But WSAD by itself does not come with any tools that allow you to put or get messages, either using JMS or any other messaging API.

Of course, you can write a program, or configure the WebSphere Test Environment to define a JMS connection and then write a program to use that connection.

But that's not WSAD, that's the WTE - and really it's a servlet you've written, not the environment or the tooling.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Nov 28, 2004 7:19 pm    Post subject: Reply with quote

Grand High Poobah

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

Jefflowry wrote:
But WSAD by itself does not come with any tools that allow you to put or get messages, either using JMS or any other messaging API.

Don't think so. May depend on the version of WSAD. I believe the Enterprise version comes with internal MQ. We use it to model and develop some of our business. Of course you need to use the Websphere server that comes with WSAD,

Our integration environment has AIX WAS and MQ 5.3 CSD08.

For the development we do a client connection to the integration qmgr once the modelling phase is over. But we initially started modelling with the internal WSAD MQ.

Enjoy


Last edited by fjb_saper on Mon Dec 06, 2004 9:59 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
slaupster
PostPosted: Mon Dec 06, 2004 9:50 am    Post subject: Reply with quote

Apprentice

Joined: 17 Nov 2004
Posts: 41

Version 5.1 of WSAD have the java and JMS client (and sundry support jars like connector.jar and jms.jar), but obviously this is only for convenience. You can simply include com.ibm.mq.jar and com.ibm.mqjms.jar etc. on in the build and runtime classpaths in WSAD and do any messaging you like in CLIENT mode. If you don't have the embedded messaging installed then you cannot host queues on that machine.

It sounds like you are trying to send messages to a QMGR else where. Therefore, its just a question of getting the resources from somewhere, either a namespace or creating them programmatically. If they are WebSphere JMS resources as opposed to WebSphere MQ JMS resources, i.e. embedded resources, then you must get them from the WAS namespace; they cannot be created programmatically.
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 » How to use JMS in WSAD ???
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.