Two Laptop Bag*
The moose likes EJB and other Java EE Technologies and the fly likes How can MDB listen a remote queue ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How can MDB listen a remote queue ?" Watch "How can MDB listen a remote queue ?" New topic
Author

How can MDB listen a remote queue ?

Nicolas Taillepied
Greenhorn

Joined: Jul 23, 2004
Posts: 8
Hi all,
I have 2 servers (jboss) running on different computers. I wan't to deploy a Message Driven Bean on one computer which listen a queue located on the other computer.
I've made a lot of tries of configurations but unsuccessfully.
Thanks if you known the response
Nicolas
Siplin Ayishoto
Greenhorn

Joined: Nov 25, 2002
Posts: 9
I do not have exact knowledge of how it works on JBoss, but can vaguely
suggest something. I have done a similar exercise on WebLogic 6.1, to
bind to MQSeries queues. The basic idea is to make the queue 'discoverable'
by the MDB.

First discover the foreign QueueConnectionFactory, Queue, etc., using
appropriate context, and then bind these to the local JNDI. Think you have
to do it in a startup class or a session bean that is loaded prior to your
MDB.




Hope this helps you in someway.
-Siplin
Kunaal A Trehan
Ranch Hand

Joined: Feb 04, 2004
Posts: 63
Hi

You can do one thing.
I have done that in my previous project.

You have an option of configuring Foriegn JMS Server in the application server.Configure a foriegn JMS server,connection factories and destinations.
Then from MDB listen those destinations.Automatically ur server handles the request.

So no need to do anything.Appliaction server takes care of that.

Rgds
Kunal
Nicolas Taillepied
Greenhorn

Joined: Jul 23, 2004
Posts: 8
Thanks for your replies, but I've ever try this solutions before and I got bugs. I will try to do another way to solve my problem.
Regards,
Nicolas
Siplin Ayishoto
Greenhorn

Joined: Nov 25, 2002
Posts: 9
Originally posted by Kunal Verma:
Hi
You have an option of configuring Foriegn JMS Server in the application server.

I thought this is only in WebLogic 8.1.
Is this available in JBOSS? I thought JBOSS doesn't even Messaging
Bridge...
Edison Martins
Greenhorn

Joined: Jul 08, 2004
Posts: 2
Hi

I am having the same problem. I have a MDB in one computer, and a i want to listen messages in a remote queue. Can you help me??

Thanks
 
jQuery in Action, 2nd edition
 
subject: How can MDB listen a remote queue ?