|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
WebSphere v5 and WebSphere MQ without JMS |
« View previous topic :: View next topic » |
Author |
Message
|
jimtames |
Posted: Wed Oct 15, 2003 3:16 am Post subject: WebSphere v5 and WebSphere MQ without JMS |
|
|
Newbie
Joined: 15 Oct 2003 Posts: 1
|
Hi,
Can someone clear up a point for me ? I'm told that accessing a WebSphere MQ Queue Manager from within application code running under WebSphere v5 can ONLY be done using JMS (QueueConnectionFactory etc.) and not using the "old-style" Java bindings (e.g. using the direct MQ API)
Is this true or just baloney ? Given that WebSphere MQ v5.3 comes with the same Java bindings as we used to use in the MA88 support pac, I can't logically see why an app running under WebSphere v5 wouldn't work when the same app under WebSphere v4 does.
Is it a question of support, rather than technical feasibility ?
I understand, of course, that using JMS is industry-standard, generic, portable and gives flexibility in choice of Queueing provider - but I'm still interested in using the MQ API / bindings !
If anyone is using WebSphere MQ directly from WebSphere v5, please let me know how !
Thanks a lot
Tim |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Oct 15, 2003 5:46 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
I'd be a liar if I said that I'd tried this myself. However, I would be inclined to agree with you that this should work. I think what you end up missing is a lot of the 'added benefits' of running in the app server environment. Without using the connection factories/destinations, there isn't a way to set up a listener port which means that you can't use MDBs. You'll have to figure out a way to do it on your own. I would also guess that the JMS classes are smart enough to participate in a two-phase commit under the app server and the regular java classes may not. I'm basing this on the XA enabled checkbox that shows up on connection factory panels. You might not be able to "hook into" the app server with the regular classes. However, this is just speculation.... |
|
Back to top |
|
 |
rwa |
Posted: Sun Oct 19, 2003 11:54 pm Post subject: |
|
|
Voyager
Joined: 22 Jan 2002 Posts: 76 Location: Duesseldorf/Germany
|
Hi Tim,
yes you can use MQ base Java in WebSphere v5.
Your java classes are running inside an JVM. Within this JVM you can use all resources from WebSphere v5 and all resources as the program would run as a standalone program. But only WebSpehre resources (like JMS)are managed by WebSphere v5. Resources like MQ base java are available but not managed by WebSpehre v5. This is the same as with WebSphere v4. This has nothing to do with WebSphere because this is standard java behavier.
As with any external java classes you have to set the classpath to MQ base Java in your Websphere configuration to start the JVM for your program.
Regards,
Rainer |
|
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
|
|
|
|