Connecting to Oracle AQ MQ

Jar Name

Location

aqapi.jar

Located in

[oracle home dir]/product/11.2.0/db_1/rdbms/jlib

ojdbc6.jar

Located in

[oracle home dir]//product/11.2.0/db_1/jdbc/lib

 

  • Properties for Initial Context object

Property Name

Default/Sample Value

java.naming.factory.initial

oracle.jms.AQjmsInitialContextFactory

db_url

jdbc:oracle:thin:@[hostname]:<port>:<sid>

e.g. jdbc:oracle:thin:@127.0.0.0:1521:test

 

  • Queue Connection Factory Name
    • QueueConnectionFactory

 

  • Topic  Connection Factory Name
    • TopicConnectionFactory

 

  • Prefix needed before queue name
    • Queues/
Have more questions? Submit a request

0 Comments

Article is closed for comments.