|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Regarding MQQueueConnectionFactory |
« View previous topic :: View next topic » |
Author |
Message
|
Suja |
Posted: Fri Nov 17, 2006 10:15 pm Post subject: Regarding MQQueueConnectionFactory |
|
|
Novice
Joined: 07 Nov 2006 Posts: 16
|
hi..
Can i Use MQQueueConnectionFactory instead of ConnectionFactory and InitalContext to send a message to the Queue ? .
Actually i want to develop an application which takes a some data through UserInterface, and the data given is Processed in a servlet and then to send it to a Queue . To do this do i need to use Message Driven Beans or ?. I am going to Use tomcat as web container.
If iam having a Client and Server in my System, can i write a Client Program to send a msg to a queue in remote machine with out interacting with mqserver in my machine?
plz clear my doubts!! _________________ Suja |
|
Back to top |
|
 |
jbanoop |
Posted: Fri Nov 17, 2006 11:13 pm Post subject: |
|
|
Chevalier
Joined: 17 Sep 2005 Posts: 401 Location: SC
|
MDB s are used to typically do the reverse ..to trigger when a message is available on the q it is listening on..
you can use a client connection to put a message on a remote queue manager without interacting with the MQServer.
the API you use is dependant on ur need and portability required for the code you write ..
Anoop |
|
Back to top |
|
 |
billybong |
Posted: Wed Nov 22, 2006 12:57 am Post subject: |
|
|
 Disciple
Joined: 22 Jul 2005 Posts: 150 Location: Stockholm, Sweden
|
Since Tomcat isn't a fullfledged J2EE server and doesn't have an EJB container it's not possible to use MDB's. What you're probably looking for is either to use the native MQI or just standard JMS message consuming.
Why do you have to use an MDB? If its really needed, take a look at a real J2EE server (Jboss, WAS, contact admin, Geronimo etc..). _________________ IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Integration Developer V6.0
IBM Certified System Administrator - WebSphere MQ V6.0
IBM Certified Solution Developer - WebSphere DataPower |
|
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
|
|
|
|