Author |
Message
|
elvis_gn |
Posted: Sun Nov 28, 2004 12:04 am Post subject: How to use JMS in WSAD ??? |
|
|
 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 |
|
 |
fjb_saper |
Posted: Sun Nov 28, 2004 6:37 am Post subject: |
|
|
 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 |
|
 |
kirani |
Posted: Sun Nov 28, 2004 11:53 am Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Sun Nov 28, 2004 3:58 pm Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Sun Nov 28, 2004 7:19 pm Post subject: |
|
|
 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 |
|
 |
slaupster |
Posted: Mon Dec 06, 2004 9:50 am Post subject: |
|
|
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 |
|
 |
|