This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes MDB Listenign to remote queue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "MDB Listenign to remote queue" Watch "MDB Listenign to remote queue" New topic
Author

MDB Listenign to remote queue

Toyan Harvey
Greenhorn

Joined: Feb 15, 2010
Posts: 4
Hey guys,
I'm trying to find some documentation on how to set up an MDB to listen to a remote queue. The following is a snippet from my mdb:



Any help would be appreciated
Thanks
Toyan Harvey
Greenhorn

Joined: Feb 15, 2010
Posts: 4
Alrighty, so this problem appears to be a configuring issue in the weblogic server. The server the MDB is on has to know where the queues are. You can configure this throught the admin console ->system mod->foreign server. Now to figure out how to configure this correctly...

Any experts out there in this area? I'm confused on what goes in the JNDI Properties and JNDI Properties Credentials.

Any help would be appreciated.

Thanks
Gilbert Tan
Greenhorn

Joined: May 29, 2009
Posts: 5
Once I had the same problem when i try to integrate/comfigure OracleAQ with JbossAS. I have an alternative solution for this if this configuration thing does not work. You can write a JMS Listener application which listens to that foreign queue. You may integrate this application to the enterprise application that resides on the app server. Once you read a message just enqueue it into a local queue. You can easily access local queues rite.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MDB Listenign to remote queue