Sietse
Sietse

Reputation: 7955

How do I create an MDB that listens to Oracle AQ queue under JBoss AS?

I need to listen to an Oracle AQ queue in a Java EE application that runs under JBoss AS 5.1.

I managed to create a regular JMS client using Oracle's JMS client library, but since this is a Java EE application, I'd really like to use a MDB.

I can't really find any documentation on this, and I can't find a resource adapter that lets me do this using JCA.

Can anyone tell me what's required to get this to work?

Upvotes: 0

Views: 2515

Answers (1)

Nicholas
Nicholas

Reputation: 16056

This JBoss Community Posting outlines how to do this. I am not sure exactly which RAR to use, but my Oracle DB install contains these:

  • product\11.2.0\dbhome_1\oc4j\j2ee\home\connectors\ojms.rar
  • product\11.2.0\dbhome_1\oc4j\j2ee\home\connectors\OracleASjms\OracleASjms.rar

This stackoverflow question links to an extensive blog on the topic as well.

Upvotes: 1

Related Questions