• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

How can MDB listen a remote queue ?

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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...
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
reply
    Bookmark Topic Watch Topic
  • New Topic