• 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:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

ejb3 mdb dependency injection

 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have 2 servers which exchange jms message via mdb's. My question is there a way to configure each mdb to
listen to a queue on the other server using DI? I'm talking about something to replace the <destination-jndi-name>
AND the <provider-url> in the server-specific jar file. My target environment is weblogic.

I'm looking at something like:



Thanks,

John

The next question is if the above is possible, is the implementation vender specific, or it pretty much standardized?
 
author
Posts: 580
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
John,

You need to configure the JMS resource (not in code). Should be as simple as configuring the queue on the application server for en external provider and referring to the queue via standard DI.

Hope it helps,
Reza
reply
    Bookmark Topic Watch Topic
  • New Topic